Skip to content

Commit

Permalink
Publish Gradle scan to Develocity
Browse files Browse the repository at this point in the history
if environment variable GRADLE_BUILD_SCAN is set to "true"
  • Loading branch information
ascheman committed Feb 1, 2024
1 parent 987d407 commit ef17d8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ gradleEnterprise {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'

publishAlwaysIf(System.getenv("GRADLE_BUILD_SCAN") == 'true')
}
}

Expand Down

0 comments on commit ef17d8d

Please sign in to comment.