diff options
-rw-r--r-- | settings.gradle.kts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts index 32be05fb..859df2bb 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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) + } +}
\ No newline at end of file |