Browse Source

Migrate to com.gradle.develocity plugin

Issue gh-15021
pull/15055/head
Steve Riesenberg 2 years ago
parent
commit
74a77d2f72
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9
  1. 4
      .github/workflows/continuous-integration-workflow.yml
  2. 4
      .github/workflows/pr-build-workflow.yml
  3. 6
      build.gradle
  4. 2
      settings.gradle

4
.github/workflows/continuous-integration-workflow.yml

@ -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

4
.github/workflows/pr-build-workflow.yml

@ -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

6
build.gradle

@ -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'
} }
} }

2
settings.gradle

@ -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"
} }

Loading…
Cancel
Save