MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
508 stars 436 forks source link

Improve Gradle configuration cache support #867

Open PaintNinja opened 2 years ago

PaintNinja commented 2 years ago

This PR improves support for Gradle's configuration cache feature by reducing getProject() usages and marking incompatible tasks accordingly so that the configuration cache can be used for compatible tasks.

Note that this is my first time working on a Gradle plugin, so merge with caution - please perform your own tests (I might've overlooked something) and let me know if I've missed anything or done something wrong so that I can improve. :)