Enable build caching using develocity (#27163)

* Enable build caching using develocity

* Apply suggestion from @timja

* Disable build scan by default

* Revert unneeded change
This commit is contained in:
Tim Jacomb authored and GitHub committed 2026-08-07 21:40:25 -06:00
1 parent 5410b7dbda
commit cb47c2d76e
3 files changed
+19

No files matched your search

+1
View File
@@ -77,3 +77,4 @@ node_modules/
# Generated JavaScript Bundles
war/src/main/webapp/jsbundles/
.mvn/.develocity/
+13
View File
@@ -0,0 +1,13 @@
<develocity>
<buildCache>
<local>
<enabled>#{isFalse(env['CI'])}</enabled>
</local>
</buildCache>
<buildScan>
<publishing>
<!-- if you want a build scan, pass -Dscan on the command line -->
<onlyIf>false</onlyIf>
</publishing>
</buildScan>
</develocity>
+5
View File
@@ -4,4 +4,9 @@
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.13</version>
</extension>
<extension>
<groupId>com.gradle</groupId>
<artifactId>develocity-maven-extension</artifactId>
<version>2.5.0</version>
</extension>
</extensions>