File tree 1 file changed +6
-17
lines changed
1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 1
- import com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures
2
-
3
1
plugins {
4
- id(" com.gradle.enterprise " ) version " 3.16.2 "
2
+ id(" com.gradle.develocity " ) version " 3.17 "
5
3
id(" com.gradle.common-custom-user-data-gradle-plugin" ) version " 2.0"
6
4
id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8.0"
7
5
}
8
6
9
7
val isCI = System .getenv(" GITHUB_ACTIONS" ) != null
10
8
11
- gradleEnterprise {
9
+ develocity {
12
10
server = " https://ge.solutions-team.gradle.com"
13
11
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" } }
22
15
}
23
16
}
24
17
25
18
buildCache {
26
- local {
27
- isEnabled = true
28
- }
29
-
30
- remote(gradleEnterprise.buildCache) {
19
+ remote(develocity.buildCache) {
31
20
isEnabled = true
32
21
// Check access key presence to avoid build cache errors on PR builds when access key is not present
33
22
val accessKey = System .getenv(" GRADLE_ENTERPRISE_ACCESS_KEY" )
You can’t perform that action at this time.
0 commit comments