ForgeGradle
ForgeGradle copied to clipboard
Minecraft mod development framework used by Forge and FML for the gradle build system
This PR overhauls run configs by: - making running `prepareRunX` configurable (previously this task was never even run for eclipse) - adding an option that will copy gradle resource output...
Right now transitive dependencies of libraries added with JiJ are not added to manifest, and should be explicitly added by mod developer.
This PR improves support for [Gradle's configuration cache feature](https://docs.gradle.org/7.4.2/userguide/configuration_cache.html) by reducing `getProject()` usages and marking incompatible tasks accordingly so that the configuration cache can be used for compatible tasks. Note...
Currently, ForgeGradle's userdev plugin [checks the `minecraft` configuration](https://github.com/MinecraftForge/ForgeGradle/blob/014a07ed144888fe6c39adf1df6d51c05490b8b6/src/userdev/java/net/minecraftforge/gradle/userdev/UserDevPlugin.java#L229-L253) after project evaluation to ensure there is exactly one defined Maven dependency in the configuration. This is by design because the `MinecraftUserRepo`...
Currently uses gradles own dependency notation parsing which requires at least the group and the artifact supplied.
This adds support for [composite builds (i.e. `includeBuild`)](https://docs.gradle.org/current/userguide/composite_builds.html) to the various run generators. As each included build is treated as a separate project, generating runs would read/write config from the...
Would be nice to have ForgeGradle group runConfigurations that get given the same auto generated prefix, this is most helpful in multiproject workspaces All of the runConfigs in the provided...
ForgeAutoRenamingTool is the modern in-house solution for remapping jars. FG should use solely FART instead of SpecialSource/Vignette.
If `org.gradle.configureondemand=true` is present in `gradle.properties`, or if running the task with `--configure-on-demand`, running the `prepareRunClient` or any similar task in a multiproject setup will fail, saying that the task...
Run configurations generated by `genIntellijRuns` build the mod twice before running, which is useless. Right now the generated configurations have this:  As `prepareRun[...]` builds the mod for...