neoforged / NeoGradle

Gradle plugin for NeoForge development
GNU Lesser General Public License v2.1
47 stars 24 forks source link

[7.0.151] Can no longer use run configurations #219

Closed bconlon1 closed 5 months ago

bconlon1 commented 5 months ago

Run configurations seem to not properly work after updating NeoGradle, e.g. the client run configuration: https://gist.github.com/bconlon1/2739124def6ecde1ef1579eedf3870d0. clientIdeBeforeRun seems to still exist in the list of tasks though, but the configuration can't seem to find it.

ChampionAsh5357 commented 5 months ago

This seems to be a result of changing the import property to idea.sync.active. This property is only set during project reloads from build scripts compared to idea.active which gets set whenever an IDE task is run. Since the run configurations do not reload the project, the value is not set.

So, this issue is only for IDEA run configurations.

marchermans commented 5 months ago

Should be fixed in 7.0.152