This repository was archived by the owner on May 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -8,31 +8,28 @@ pluginManagement {
8
8
rootProject.name = " rewrite-kotlin"
9
9
10
10
plugins {
11
- id(" com.gradle.enterprise " ) version " latest.release"
11
+ id(" com.gradle.develocity " ) version " latest.release"
12
12
id(" com.gradle.common-custom-user-data-gradle-plugin" ) version " latest.release"
13
13
}
14
14
15
- gradleEnterprise {
16
- val isCiServer = System .getenv(" CI" )?.equals(" true" ) ? : false
15
+ develocity {
17
16
server = " https://ge.openrewrite.org/"
18
17
18
+ val isCiServer = System .getenv(" CI" )?.equals(" true" ) ? : false
19
+ val accessKey = System .getenv(" GRADLE_ENTERPRISE_ACCESS_KEY" )
20
+ val authenticated = ! accessKey.isNullOrBlank()
19
21
buildCache {
20
- remote(gradleEnterprise .buildCache) {
22
+ remote(develocity .buildCache) {
21
23
isEnabled = true
22
- val accessKey = System .getenv(" GRADLE_ENTERPRISE_ACCESS_KEY" )
23
- isPush = isCiServer && ! accessKey.isNullOrBlank()
24
+ isPush = isCiServer && authenticated
24
25
}
25
26
}
26
27
27
28
buildScan {
28
29
capture {
29
- isTaskInputFiles = true
30
+ fileFingerprints = true
30
31
}
31
32
32
- isUploadInBackground = ! isCiServer
33
-
34
- publishAlways()
35
- this as com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures
36
- publishIfAuthenticated()
33
+ uploadInBackground = ! isCiServer
37
34
}
38
- }
35
+ }
You can’t perform that action at this time.
0 commit comments