From 760d42202f9c63e1f78e1f845bbb618b80c551f8 Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Fri, 19 Jul 2024 18:14:12 +0200 Subject: [PATCH] Update Gradle Plugins --- settings.gradle | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/settings.gradle b/settings.gradle index 10b7e7f..b6a31c4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,18 +7,16 @@ pluginManagement { plugins { id "io.freefair.settings.plugin-versions" version "8.6" - id "com.gradle.enterprise" version "3.17.5" + id "com.gradle.develocity" version "3.17.5" } boolean isCiServer = System.getenv().containsKey("CI") -gradleEnterprise { - if (isCiServer) { - buildScan { - publishAlways() - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" - } +develocity { + buildScan { + publishing.onlyIf { isCiServer } + termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use" + termsOfUseAgree = "yes" } }