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

pchengma pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 75bb578bd Bump com.gradle.enterprise from 3.16.1 to 3.17.4 (#4926)
75bb578bd is described below

commit 75bb578bd39195c21a1997068a4938da9d18a5f7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed May 29 20:04:10 2024 +0800

    Bump com.gradle.enterprise from 3.16.1 to 3.17.4 (#4926)
    
    * Bump com.gradle.enterprise from 3.16.1 to 3.17.4
    
    Bumps com.gradle.enterprise from 3.16.1 to 3.17.4.
    
    ---
    updated-dependencies:
    - dependency-name: com.gradle.enterprise
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Upgrade according to 
https://docs.gradle.com/develocity/gradle-plugin/legacy/#develocity_migration
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Pil0tXia <[email protected]>
---
 .github/workflows/ci.yml            |  6 +++---
 .github/workflows/code-scanning.yml |  2 +-
 .github/workflows/license.yml       |  2 --
 settings.gradle                     | 13 +++++--------
 4 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 88f5577ca..ce5eae95b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,7 +57,7 @@ jobs:
           java-version: 11
 
       - name: GenerateGrammarSource
-        run: ./gradlew clean generateGrammarSource --parallel --daemon
+        run: ./gradlew clean generateGrammarSource --parallel --daemon --scan
         env:
           GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
 
@@ -69,12 +69,12 @@ jobs:
 
       # https://docs.gradle.org/current/userguide/performance.html
       - name: Build
-        run: ./gradlew clean build dist jacocoTestReport -x spotlessJava -x 
generateGrammarSource --parallel --daemon
+        run: ./gradlew clean build dist jacocoTestReport -x spotlessJava -x 
generateGrammarSource --parallel --daemon --scan
         env:
           GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
 
       - name: Install plugin
-        run: ./gradlew installPlugin
+        run: ./gradlew installPlugin --scan
         env:
           GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
 
diff --git a/.github/workflows/code-scanning.yml 
b/.github/workflows/code-scanning.yml
index 04166f748..0a7b2ecb2 100644
--- a/.github/workflows/code-scanning.yml
+++ b/.github/workflows/code-scanning.yml
@@ -66,7 +66,7 @@ jobs:
 
       - name: Build
         if: matrix.language == 'java'
-        run: ./gradlew clean assemble compileTestJava --parallel --daemon
+        run: ./gradlew clean assemble compileTestJava --parallel --daemon 
--scan
         env:
           GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
 
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index cc52bdd49..ca0e0936a 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -42,5 +42,3 @@ jobs:
 
       - name: Check license compatibility
         run: ./gradlew clean checkDeniedLicense
-        env:
-          GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
diff --git a/settings.gradle b/settings.gradle
index 6a8e27bf9..e56b11ce5 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -16,19 +16,17 @@
  */
 
 plugins {
-    id 'com.gradle.enterprise' version '3.16.1'
-    id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.12.1'
+    id 'com.gradle.develocity' version '3.17.4'
+    id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.1'
 }
 
 def isCiServer = System.getenv().containsKey("CI")
 
-gradleEnterprise {
+develocity {
     server = "https://ge.apache.org";
     buildScan {
-        capture { taskInputFiles = true }
         uploadInBackground = !isCiServer
-        publishAlways()
-        publishIfAuthenticated()
+        publishing.onlyIf { false }
         obfuscation {
             ipAddresses { addresses -> addresses.collect { address -> 
"0.0.0.0"} }
         }
@@ -36,12 +34,11 @@ gradleEnterprise {
 }
 
 buildCache {
-    remote(gradleEnterprise.buildCache) {
+    remote(develocity.buildCache) {
         enabled = false
     }
 }
 
-
 rootProject.name = 'eventmesh'
 String jdkVersion = "${jdk}"
 include 'eventmesh-runtime'


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to