From 74a77d2f72b39c5db19e9f95349ddc4d2d6d18f1 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg <5248162+sjohnr@users.noreply.github.com> Date: Tue, 7 May 2024 16:00:10 -0500 Subject: [PATCH] Migrate to com.gradle.develocity plugin Issue gh-15021 --- .github/workflows/continuous-integration-workflow.yml | 4 +--- .github/workflows/pr-build-workflow.yml | 4 +--- build.gradle | 6 +++--- settings.gradle | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 403dd7573d7..742eda0878a 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -9,9 +9,7 @@ on: workflow_dispatch: # Manual trigger env: - GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} - GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} permissions: contents: read diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index ad9487782b7..c942456aa3a 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -3,9 +3,7 @@ name: PR Build on: pull_request env: - GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} - GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} permissions: contents: read diff --git a/build.gradle b/build.gradle index 6d2daccd0e7..dfc85c21457 100644 --- a/build.gradle +++ b/build.gradle @@ -86,10 +86,10 @@ allprojects { } } -if (hasProperty('buildScan')) { +develocity { buildScan { - termsOfServiceUrl = 'https://gradle.com/terms-of-service' - termsOfServiceAgree = 'yes' + termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use' + termsOfUseAgree = 'yes' } } diff --git a/settings.gradle b/settings.gradle index 473011ae0dc..7a78d74c82d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,7 +5,7 @@ pluginManagement { } plugins { - id "com.gradle.enterprise" version "3.17.2" + id "com.gradle.develocity" version "3.17.2" id "io.spring.ge.conventions" version "0.0.16" }