diff options
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r-- | settings.gradle.kts | 17 |
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 { |