diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index b77f114d..41c38bf1 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -8,6 +8,9 @@ on: - cron: '0 10 * * *' # Once per day at 10am UTC workflow_dispatch: +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + jobs: build: name: Build diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index 1c613347..563a48e1 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -5,6 +5,9 @@ on: branches: - '**' +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + jobs: build: name: Build diff --git a/build.gradle b/build.gradle index c6a13489..44f94d97 100644 --- a/build.gradle +++ b/build.gradle @@ -15,9 +15,9 @@ springRelease { replaceSnapshotVersionInReferenceDocUrl = true } -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 4ab072cb..9a4c2fee 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,8 +5,7 @@ pluginManagement { } plugins { - id "com.gradle.enterprise" version "3.13.3" - id "io.spring.ge.conventions" version "0.0.13" + id "io.spring.develocity.conventions" version "0.0.22" } dependencyResolutionManagement {