Skip to content

Commit 16647f6

Browse files
committed
Clean up: Improved Gradle scan setup.
1 parent 4059a10 commit 16647f6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

settings.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ def includeBuildProject(projectName) {
2525
}
2626

2727
// enabling Gradle scan by agreeing to term of service
28-
2928
develocity {
3029
buildScan {
31-
publishing.onlyIf { System.getenv("CI") != null }
30+
publishing.onlyIf { isRunningOnBuildServer }
3231
termsOfUseUrl = "https://gradle.com/terms-of-service"
3332
termsOfUseAgree = "yes"
3433
}

0 commit comments

Comments
 (0)