Skip to content

Commit ff6a9c7

Browse files
authored
Merge pull request #127 from gradlex-org/bene/build-tweaks
Build updates
2 parents 9aa1839 + b37072c commit ff6a9c7

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

gradle/wrapper/gradle-wrapper.jar

-9 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-rc-2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ dependencyResolutionManagement {
88
repositories.mavenCentral()
99
}
1010

11-
gradleEnterprise {
12-
val runsOnCI = providers.environmentVariable("CI").getOrElse("false").toBoolean()
13-
if (runsOnCI) {
14-
buildScan {
15-
publishAlways()
16-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
17-
termsOfServiceAgree = "yes"
11+
develocity {
12+
buildScan {
13+
val isCi = providers.environmentVariable("CI").getOrElse("false").toBoolean()
14+
if (isCi) {
15+
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
16+
termsOfUseAgree = "yes"
17+
} else {
18+
publishing.onlyIf { false }
1819
}
1920
}
2021
}

0 commit comments

Comments
 (0)