Skip to content

Commit 5bb4f40

Browse files
Enable Gradle build scans (#510)
1 parent 67267e5 commit 5bb4f40

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

settings.gradle.kts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,24 @@ dependencyResolutionManagement {
2828
}
2929
}
3030
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
31+
32+
pluginManagement {
33+
repositories {
34+
mavenCentral()
35+
gradlePluginPortal()
36+
}
37+
}
38+
39+
plugins {
40+
id("com.gradle.enterprise") version "3.12.3"
41+
}
42+
43+
gradleEnterprise {
44+
if (System.getenv("CI") != null) {
45+
buildScan {
46+
publishAlways()
47+
termsOfServiceUrl = "https://gradle.com/terms-of-service"
48+
termsOfServiceAgree = "yes"
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)