Skip to content

Commit

Permalink
Enable Gradle Enterprise (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 25, 2022
1 parent 56beaa3 commit 02b0c63
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions settings.gradle.kts
Expand Up @@ -46,3 +46,17 @@ pluginManagement {
id("com.gradle.plugin-publish") version "0.20.0"
}
}

val isCiBuild = System.getenv("GITHUB_ACTIONS") != null || System.getenv("TEAMCITY_VERSION") != null

plugins {
`gradle-enterprise`
}

gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCiBuild)
}
}

0 comments on commit 02b0c63

Please sign in to comment.