From b3999e0d088929501928f42fcf16bbb21aa3dbe4 Mon Sep 17 00:00:00 2001 From: Ian Brandt Date: Sun, 8 Sep 2024 22:49:27 -0700 Subject: [PATCH] Switched from the Gradle Enterprise Plugin to the Develocity plugin. --- settings.gradle.kts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index fc52e8b..6cad26c 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -8,7 +8,7 @@ pluginManagement { } plugins { - id("com.gradle.enterprise") version "3.16.2" + id("com.gradle.develocity") version "3.18" } dependencyResolutionManagement { @@ -21,13 +21,11 @@ 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" - } +develocity { + buildScan { + publishing.onlyIf { !System.getenv("CI").isNullOrEmpty() } + termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use") + termsOfUseAgree.set("yes") } }