Skip to content

Commit 34f64a1

Browse files
committed
Upgrade to Develocity Gradle plugin 3.17
1 parent bf70ec7 commit 34f64a1

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

Diff for: settings.gradle.kts

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,22 @@
1-
import com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures
2-
31
plugins {
4-
id("com.gradle.enterprise") version "3.16.2"
2+
id("com.gradle.develocity") version "3.17"
53
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
64
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
75
}
86

97
val isCI = System.getenv("GITHUB_ACTIONS") != null
108

11-
gradleEnterprise {
9+
develocity {
1210
server = "https://ge.solutions-team.gradle.com"
1311
buildScan {
14-
capture { isTaskInputFiles = true }
15-
isUploadInBackground = !isCI
16-
publishAlways()
17-
this as BuildScanExtensionWithHiddenFeatures
18-
publishIfAuthenticated()
19-
obfuscation {
20-
ipAddresses { addresses -> addresses.map { "0.0.0.0" } }
21-
}
12+
uploadInBackground = !isCI
13+
publishing.onlyIf { it.isAuthenticated }
14+
obfuscation.ipAddresses { addresses -> addresses.map { "0.0.0.0" } }
2215
}
2316
}
2417

2518
buildCache {
26-
local {
27-
isEnabled = true
28-
}
29-
30-
remote(gradleEnterprise.buildCache) {
19+
remote(develocity.buildCache) {
3120
isEnabled = true
3221
// Check access key presence to avoid build cache errors on PR builds when access key is not present
3322
val accessKey = System.getenv("GRADLE_ENTERPRISE_ACCESS_KEY")

0 commit comments

Comments
 (0)