aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-05-25 17:59:04 +0530
committerGitHub <noreply@github.com>2022-05-25 12:29:04 +0000
commit9d3312611e3f16414d60a717770befeedec9319b (patch)
tree0eedd70adc834d5b4f7b6455fccad034d33586f5 /settings.gradle.kts
parent5f4bc7fafde92f18453571054dbdc3b29d196416 (diff)
Instate shadow jobs (#1923)
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts17
1 files changed, 17 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index b47b7cba..1d7993b1 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -27,10 +27,27 @@ pluginManagement {
includeGroup("com.google.testing.platform")
}
}
+ exclusiveContent {
+ forRepository(::gradlePluginPortal)
+ filter {
+ includeModule("com.gradle", "gradle-enterprise-gradle-plugin")
+ includeModule("com.gradle.enterprise", "com.gradle.enterprise.gradle.plugin")
+ }
+ }
mavenCentral()
}
}
+plugins { id("com.gradle.enterprise") version "3.10.1" }
+
+gradleEnterprise {
+ buildScan {
+ termsOfServiceUrl = "https://gradle.com/terms-of-service"
+ termsOfServiceAgree = if (System.getenv("GITHUB_WORKFLOW").isNullOrEmpty()) "no" else "yes"
+ publishOnFailureIf(!System.getenv("GITHUB_WORKFLOW").isNullOrEmpty())
+ }
+}
+
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {