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

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 36732f8c31aacb1fcc4f4e018a11f02d50e658ce
Author: Clay Johnson <[email protected]>
AuthorDate: Thu Jan 16 08:00:20 2025 -0600

    Publish build scans to develocity.apache.org (#2141)
    
    * Publish build scans to develocity.apache.org
    
    * Add a projectId
    
    * Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org`
---
 .github/workflows/grails-joint-validation.yml    | 2 +-
 .github/workflows/groovy-build-coverage.yml      | 2 +-
 .github/workflows/groovy-build-dist.yml          | 2 +-
 .github/workflows/groovy-build-test-19.yml       | 2 +-
 .github/workflows/groovy-build-test.yml          | 2 +-
 .github/workflows/micronaut-joint-validation.yml | 2 +-
 gradle/build-scans.gradle                        | 5 +++--
 settings.gradle                                  | 6 +++---
 8 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/grails-joint-validation.yml 
b/.github/workflows/grails-joint-validation.yml
index 0027009d5a..bcdfe4b22c 100644
--- a/.github/workflows/grails-joint-validation.yml
+++ b/.github/workflows/grails-joint-validation.yml
@@ -37,7 +37,7 @@ jobs:
         java: [11.0.9]
     runs-on: ${{ matrix.os }}
     env:
-        DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+        DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK
diff --git a/.github/workflows/groovy-build-coverage.yml 
b/.github/workflows/groovy-build-coverage.yml
index f7706a375d..1ad9d7dd22 100644
--- a/.github/workflows/groovy-build-coverage.yml
+++ b/.github/workflows/groovy-build-coverage.yml
@@ -29,7 +29,7 @@ jobs:
         java: [17]
     runs-on: ${{ matrix.os }}
     env:
-      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK
diff --git a/.github/workflows/groovy-build-dist.yml 
b/.github/workflows/groovy-build-dist.yml
index 50da6115b0..189b85df4a 100644
--- a/.github/workflows/groovy-build-dist.yml
+++ b/.github/workflows/groovy-build-dist.yml
@@ -26,7 +26,7 @@ jobs:
         java: [17]
     runs-on: ${{ matrix.os }}
     env:
-      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK
diff --git a/.github/workflows/groovy-build-test-19.yml 
b/.github/workflows/groovy-build-test-19.yml
index 63cf4a60fd..44773f0d95 100644
--- a/.github/workflows/groovy-build-test-19.yml
+++ b/.github/workflows/groovy-build-test-19.yml
@@ -28,7 +28,7 @@ jobs:
         os: [ubuntu-20.04]
     runs-on: ${{ matrix.os }}
     env:
-      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDKs
diff --git a/.github/workflows/groovy-build-test.yml 
b/.github/workflows/groovy-build-test.yml
index 441fa2680b..2d05b8ad01 100644
--- a/.github/workflows/groovy-build-test.yml
+++ b/.github/workflows/groovy-build-test.yml
@@ -29,7 +29,7 @@ jobs:
         java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
     runs-on: ${{ matrix.os }}
     env:
-      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK
diff --git a/.github/workflows/micronaut-joint-validation.yml 
b/.github/workflows/micronaut-joint-validation.yml
index 8df8717c4e..2d1942fa70 100644
--- a/.github/workflows/micronaut-joint-validation.yml
+++ b/.github/workflows/micronaut-joint-validation.yml
@@ -27,7 +27,7 @@ jobs:
       fail-fast: true
     runs-on: ubuntu-latest
     env:
-      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK
diff --git a/gradle/build-scans.gradle b/gradle/build-scans.gradle
index 2b749d096c..caf9efca18 100644
--- a/gradle/build-scans.gradle
+++ b/gradle/build-scans.gradle
@@ -20,8 +20,9 @@
 def env = System.getenv()
 boolean isCI = env.CI || env.TRAVIS || env.TEAMCITY_VERSION || 
env.GITHUB_ACTIONS
 
-gradleEnterprise {
-    server = "https://ge.apache.org";
+develocity {
+    server = "https://develocity.apache.org";
+    projectId = "groovy"
     allowUntrustedServer = false
 
     buildScan {
diff --git a/settings.gradle b/settings.gradle
index 8df5d2bd71..f6086292c3 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -30,9 +30,9 @@ pluginManagement {
 
 // check https://gradle.com/enterprise/releases with new versions. GE plugin 
version should not lag behind Gradle version
 plugins {
-    // Before updating this, please check the compatibility from 
https://docs.gradle.com/enterprise/compatibility/#develocity_compatibility and 
https://ge.apache.org/scans.
-    id "com.gradle.enterprise" version "3.16.2"
-    id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.12.2'
+    // Before updating this, please check the compatibility from 
https://docs.gradle.com/enterprise/compatibility/#develocity_compatibility and 
https://develocity.apache.org/scans.
+    id "com.gradle.develocity" version "3.18.2"
+    id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
 }
 
 apply from: 'gradle/build-scans.gradle'

Reply via email to