From 998107acd210ea237959991f40b8580a14837593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Kojek?= Date: Tue, 3 Sep 2024 09:47:04 +0200 Subject: [PATCH 1/2] Replaced deprecated jcenter with gradlePluginPortal repository (#1314) --- org.eclipse.buildship.site/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.eclipse.buildship.site/build.gradle b/org.eclipse.buildship.site/build.gradle index a44486ab3..9af908e22 100644 --- a/org.eclipse.buildship.site/build.gradle +++ b/org.eclipse.buildship.site/build.gradle @@ -2,7 +2,9 @@ apply plugin: eclipsebuild.UpdateSitePlugin apply plugin: 'org.hidetake.ssh' buildscript { - repositories { jcenter() } + repositories { + gradlePluginPortal() + } dependencies { classpath 'org.hidetake:gradle-ssh-plugin:2.10.1' } 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 2/2] 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 } }