Skip to content

Commit 74a77d2

Browse files
committed
Migrate to com.gradle.develocity plugin
Issue gh-15021
1 parent a80fdee commit 74a77d2

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ on:
99
workflow_dispatch: # Manual trigger
1010

1111
env:
12-
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
13-
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
14-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
12+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
1513

1614
permissions:
1715
contents: read

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ name: PR Build
33
on: pull_request
44

55
env:
6-
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
7-
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
8-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
6+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
97

108
permissions:
119
contents: read

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ allprojects {
8686
}
8787
}
8888

89-
if (hasProperty('buildScan')) {
89+
develocity {
9090
buildScan {
91-
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
92-
termsOfServiceAgree = 'yes'
91+
termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use'
92+
termsOfUseAgree = 'yes'
9393
}
9494
}
9595

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pluginManagement {
55
}
66

77
plugins {
8-
id "com.gradle.enterprise" version "3.17.2"
8+
id "com.gradle.develocity" version "3.17.2"
99
id "io.spring.ge.conventions" version "0.0.16"
1010
}
1111

0 commit comments

Comments
 (0)