This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch javax in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 70d767802a73518d8ea8e935bef11227becd0fb9 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 018610e29..986c1a1ab 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 b214e17d6..4e9047510 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 } }