Skip to content

Commit aa6fae9

Browse files
committed
Migrate to com.gradle.develocity plugin
Closes gh-1770
1 parent 3798a4d commit aa6fae9

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- cron: '0 10 * * *' # Once per day at 10am UTC
99
workflow_dispatch:
1010

11+
env:
12+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
13+
1114
jobs:
1215
build:
1316
name: Build

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- '**'
77

8+
env:
9+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
10+
811
jobs:
912
build:
1013
name: Build

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ springRelease {
1515
replaceSnapshotVersionInReferenceDocUrl = true
1616
}
1717

18-
if (hasProperty("buildScan")) {
18+
develocity {
1919
buildScan {
20-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
21-
termsOfServiceAgree = "yes"
20+
termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use'
21+
termsOfUseAgree = 'yes'
2222
}
2323
}

settings.gradle

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

77
plugins {
8-
id "com.gradle.enterprise" version "3.13.3"
9-
id "io.spring.ge.conventions" version "0.0.13"
8+
id "io.spring.develocity.conventions" version "0.0.22"
109
}
1110

1211
dependencyResolutionManagement {

0 commit comments

Comments
 (0)