ForgeGradle icon indicating copy to clipboard operation
ForgeGradle copied to clipboard

[7.0] Intentionally support the Configuration Cache

Open Jonathing opened this issue 2 months ago • 3 comments

The Configuration Cache is an optimization feature in Gradle which makes it attempt to skip the configuration phase of a Gradle invocation in order to save build time when running tasks repeatedly.

Support for this is highest priority, as the configuration cache has proven to save time in builds across a variety of projects, and will also be the default execution mode in Gradle 10.

So far, ForgeGradle 7 supports the configuration cache as all plugins, extensions, and tasks have been created with it in mind, using the proper properties and (Gradle-managed) types. However, I'm creating this issue to ensure that I don't break configuration caching by accident for any updates I make to ForgeGradle 7 until stabilization.

This issue will be closed as complete once ForgeGradle 7 is stabilized.

cc @PaintNinja @mezz

Jonathing avatar Oct 08 '25 11:10 Jonathing