This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release24.09 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit b219957ec29ad8a39a7be11bfb30ddfd6b213442 Author: Clay Johnson <cjohn...@gradle.com> AuthorDate: Thu Jan 16 04:43:16 2025 -0600 Publish build scans to develocity.apache.org #5165 (#871) * Publish build scans to develocity.apache.org * Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org` * Update Develocity plugin versions --- .github/workflows/gradle.yaml | 2 +- settings.gradle | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml index b569472151..414c186bc8 100644 --- a/.github/workflows/gradle.yaml +++ b/.github/workflows/gradle.yaml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest env: - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} steps: - name: Harden Runner diff --git a/settings.gradle b/settings.gradle index 41f41b3608..c9dba9cf04 100644 --- a/settings.gradle +++ b/settings.gradle @@ -18,19 +18,18 @@ */ plugins { - id 'com.gradle.enterprise' version '3.13.3' - id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10' + id 'com.gradle.develocity' version '3.18.2' + id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2' } def isCI = System.getenv('GITHUB_ACTIONS') != null -gradleEnterprise { - server = "https://ge.apache.org" +develocity { + server = "https://develocity.apache.org" + projectId = "ofbiz" buildScan { - capture { taskInputFiles = true } uploadInBackground = !isCI - publishAlways() - publishIfAuthenticated() + publishing.onlyIf { it.isAuthenticated() } 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. @@ -44,7 +43,7 @@ buildCache { enabled = !isCI } - remote(gradleEnterprise.buildCache) { + remote(develocity.buildCache) { enabled = false } }