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 a9c86845bcb613190d1f257234f7cc7fae83510f Author: Paul King <[email protected]> AuthorDate: Thu Feb 20 16:36:56 2025 +1000 tidy up cherry-pick of develocity changes --- .github/workflows/groovy-build-test-ea.yml | 2 +- gradle/build-scans.gradle | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/groovy-build-test-ea.yml b/.github/workflows/groovy-build-test-ea.yml index 700a02253e..e33350b286 100644 --- a/.github/workflows/groovy-build-test-ea.yml +++ b/.github/workflows/groovy-build-test-ea.yml @@ -32,7 +32,7 @@ jobs: "https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz"] runs-on: ${{ matrix.os }} env: - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} steps: - name: Download JDK ${{ matrix.jdk }} run: wget -c ${{ matrix.jdk }} -O /tmp/openjdk.tar.gz diff --git a/gradle/build-scans.gradle b/gradle/build-scans.gradle index caf9efca18..5e0f0b91c4 100644 --- a/gradle/build-scans.gradle +++ b/gradle/build-scans.gradle @@ -18,7 +18,7 @@ */ def env = System.getenv() -boolean isCI = env.CI || env.TRAVIS || env.TEAMCITY_VERSION || env.GITHUB_ACTIONS +boolean isCI = env.CI || env.TEAMCITY_VERSION || env.GITHUB_ACTIONS develocity { server = "https://develocity.apache.org" @@ -26,10 +26,8 @@ develocity { allowUntrustedServer = false buildScan { - capture { taskInputFiles = true } uploadInBackground = !isCI - publishAlways() - publishIfAuthenticated() + publishing.onlyIf { it.authenticated } obfuscation { ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0" } } }
