File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -8,31 +8,28 @@ pluginManagement {
88rootProject.name = " rewrite-testing-frameworks"
99
1010plugins {
11- id(" com.gradle.enterprise " ) version " latest.release"
11+ id(" com.gradle.develocity " ) version " latest.release"
1212 id(" com.gradle.common-custom-user-data-gradle-plugin" ) version " latest.release"
1313}
1414
15- gradleEnterprise {
16- val isCiServer = System .getenv(" CI" )?.equals(" true" ) ? : false
15+ develocity {
1716 server = " https://ge.openrewrite.org/"
1817
18+ val isCiServer = System .getenv(" CI" )?.equals(" true" ) ? : false
19+ val accessKey = System .getenv(" GRADLE_ENTERPRISE_ACCESS_KEY" )
20+ val authenticated = ! accessKey.isNullOrBlank()
1921 buildCache {
20- remote(gradleEnterprise .buildCache) {
22+ remote(develocity .buildCache) {
2123 isEnabled = true
22- val accessKey = System .getenv(" GRADLE_ENTERPRISE_ACCESS_KEY" )
23- isPush = isCiServer && ! accessKey.isNullOrBlank()
24+ isPush = isCiServer && authenticated
2425 }
2526 }
2627
2728 buildScan {
2829 capture {
29- isTaskInputFiles = true
30+ fileFingerprints = true
3031 }
3132
32- isUploadInBackground = ! isCiServer
33-
34- publishAlways()
35- this as com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures
36- publishIfAuthenticated()
33+ uploadInBackground = ! isCiServer
3734 }
3835}
You can’t perform that action at this time.
0 commit comments