Skip to content

[7.0] Use Gradle's Build Cache alongside in-house caching #993

@Jonathing

Description

@Jonathing

Gradle's Build Cache is Gradle's caching solution for tasks (and other work types, such as artifact transforms).

Implementing support for Gradle's own build cache will take significantly more work than supporting the configuration cache (#992) or configuration on demand (#991), but is something we should look into to maximize the performance gains that ForgeGradle 7 can handle.

In terms of support, ForgeGradle 7 has support for build caching being enabled, but it itself does not use the build cache for any of its tasks or executions. Additionally, projects we should look into working in Gradle Build Cache support for will include AccessTransformers Gradle, JarJar Gradle, and the Obfuscation plugin (yet to be made), as they provide UserDev transforms and tasks respectively.

This issue will be closed once ForgeGradle 7 and/or all of its sister plugins have implemented sufficient support for Gradle Build Cache.

cc @LexManos @PaintNinja @mezz

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions