This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new da89b552f Migrate from Gradle Enterprise Gradle Plugin to Develocity 
Gradle Plugin
da89b552f is described below

commit da89b552f72ebc2aaf971020f489a71181762fc1
Author: Clay Johnson <cjohn...@gradle.com>
AuthorDate: Mon Aug 12 17:18:41 2024 -0500

    Migrate from Gradle Enterprise Gradle Plugin to Develocity Gradle Plugin
---
 .github/workflows/build-pull-request.yaml |  3 ++-
 settings.gradle                           | 13 ++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/build-pull-request.yaml 
b/.github/workflows/build-pull-request.yaml
index cd9cbe56c..3fd92caeb 100644
--- a/.github/workflows/build-pull-request.yaml
+++ b/.github/workflows/build-pull-request.yaml
@@ -3,6 +3,7 @@ on: pull_request
 
 env:
   MOZ_HEADLESS: true
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
 
 jobs:
   build:
@@ -27,7 +28,7 @@ jobs:
           token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Setup Gradle
-        uses: gradle/gradle-build-action@v2
+        uses: gradle/actions/setup-gradle@v4
 
       - name: Build with Gradle
         run: ./gradlew -Dci=true --no-daemon --continue build
diff --git a/settings.gradle b/settings.gradle
index d541ea32c..d854ccacf 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,19 +1,18 @@
 plugins {
-    id 'com.gradle.enterprise' version '3.13.2'
-    id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
+    id 'com.gradle.develocity' version '3.17.6'
+    id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
 }
 
 def isTravisCI = System.getenv('TRAVIS_JOB_ID') != null
 def isJenkins = System.getenv('JENKINS_URL') != null
 def isCI = isTravisCI || isJenkins
 
-gradleEnterprise {
+develocity {
     server = "https://ge.apache.org";
+    projectId = "tapestry"
     buildScan {
-        capture { taskInputFiles = true }
         uploadInBackground = !isCI
-        publishAlways()
-        publishIfAuthenticated()
+        publishing.onlyIf { it.authenticated }
         obfuscation {
             // This obfuscates the IP addresses of the build machine in the 
build scan.
             // Alternatively, the build scan will provide the hostname for 
troubleshooting host-specific issues.
@@ -27,7 +26,7 @@ buildCache {
         enabled = !isCI
     }
 
-    remote(gradleEnterprise.buildCache) {
+    remote(develocity.buildCache) {
         enabled = false
     }
 }

Reply via email to