From 0891026d07fb22c05d57d7268d6e0785b3420606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Kojek?= Date: Tue, 3 Sep 2024 09:47:16 +0200 Subject: [PATCH] Updated to latest develocity plugin supported and added CCUD gradle (#1315) --- settings.gradle | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/settings.gradle b/settings.gradle index f77300987..2e52ea7be 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,14 +1,17 @@ // publish build scans from CI builds plugins { - id "com.gradle.enterprise" version "3.10" + id "com.gradle.develocity" version "3.17.6" + id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2' } -gradleEnterprise { + +def isCI = System.getenv('CI') != null + +develocity { server = "https://ge.gradle.org" buildScan { - boolean ci = System.getenv('CI') as boolean - publishAlwaysIf(ci) - uploadInBackground = !ci + publishing.onlyIf { isCI } + uploadInBackground = !isCI } }