IssueRaiser

Petition Gradle to support JVM-local configuration-cache

***Please thumbs-up this issue if you'd like Gradle to build this.*** TLDR: Unlike remote build cache, configuration cache is never going to be relocatable. Because of that, it might as well be a JVM-local cache (within-daemon), which removes the performance and incidental-complexity penalties of a serialization roundtrip. Spotless #986 hacks a workaround to demonstrate this approach, example API in [comment below](https://github.com/diffplug/spotless/issues/987#issuecomment-963664602). Gradle could support this natively so that configuration cache is faster to use and easier to develop plugins against. **EDIT: full no-asterisk support for configuration cache is available in Spotless 7.0.0+**

Posted by nedtwigg on Nov 8, 2021, 10:27 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

support (Software)

Petition Gradle to support JVM-local configuration-cache

nedtwiggNov 8, 2021, 10:27 PM

***Please thumbs-up this issue if you'd like Gradle to build this.*** TLDR: Unlike remote build cache, configuration cache is never going to be relocatable. Because of that, it might as well be a JVM-local cache (within-daemon), which removes the performance and incidental-complexity penalties of a serialization roundtrip. Spotless #986 hacks a workaround to demonstrate this approach, example API in [comment below](https://github.com/diffplug/spotless/issues/987#issuecomment-963664602). Gradle could support this natively so that configuration cache is faster to use and easier to develop plugins against. **EDIT: full no-asterisk support for configuration cache is available in Spotless 7.0.0+**

Comments (0)

No comments yet. Start the discussion.

Comment on this issue