Skip to content

Commit

Permalink
Added configuration for publishing Gradle Build Scans from CI builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbrandt committed Mar 23, 2024
1 parent bf9ac28 commit e99dab0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pluginManagement {
}

plugins {
id("com.gradle.enterprise") version "3.16.2"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}

Expand All @@ -21,6 +22,16 @@ dependencyResolutionManagement {
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

gradleEnterprise {
if (System.getenv("CI") != null) {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
}

includeBuild("platforms")

rootProject.name = "sd-kotlin-talks"
Expand Down

0 comments on commit e99dab0

Please sign in to comment.