Skip to content

Commit

Permalink
Migrate to develocity plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Apr 4, 2024
1 parent 721a2a6 commit 7dd1e13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}

def isCI = providers.environmentVariable("CI").isPresent()
def isCI = providers.environmentVariable("CI").present

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCI)
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
publishing.onlyIf { isCI }
}
}

Expand Down

0 comments on commit 7dd1e13

Please sign in to comment.