[7.2] Use Gradle's Build Cache alongside in-house caching
@Jonathing is already working on this.
Since Oct 8, 2025.
Assessment
This issue has not been assessed yet.
Description
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
- Dominant language
- Java
- Stars
- 574
- Forks
- 450
- Avg merge
- 16h 20m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MinecraftForge/ForgeGradle
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
MinecraftForge/ForgeGradle#1088 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
MinecraftForge/ForgeGradle#1087 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
MinecraftForge/ForgeGradle#1078 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
MinecraftForge/ForgeGradle#1076 ·
-
MinecraftForge/ForgeGradle#1058 · 12 comments · 1 assignee ·
All issues in MinecraftForge/ForgeGradle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100