Migrate to com.gradle.develocity plugin

Issue gh-15021
This commit is contained in:
Steve Riesenberg 2024-05-07 16:00:10 -05:00
parent a80fdee533
commit 74a77d2f72
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9
4 changed files with 6 additions and 10 deletions

View File

@ -9,9 +9,7 @@ on:
workflow_dispatch: # Manual trigger workflow_dispatch: # Manual trigger
env: env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
permissions: permissions:
contents: read contents: read

View File

@ -3,9 +3,7 @@ name: PR Build
on: pull_request on: pull_request
env: env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
permissions: permissions:
contents: read contents: read

View File

@ -86,10 +86,10 @@ allprojects {
} }
} }
if (hasProperty('buildScan')) { develocity {
buildScan { buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service' termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use'
termsOfServiceAgree = 'yes' termsOfUseAgree = 'yes'
} }
} }

View File

@ -5,7 +5,7 @@ pluginManagement {
} }
plugins { 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" id "io.spring.ge.conventions" version "0.0.16"
} }