Skip to content

Commit 7ef3f61

Browse files
authored
Add build scans to PR builds
1 parent 6d14482 commit 7ef3f61

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
path: ~/.gradle/caches
2020
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
2121
- name: Build with Gradle
22-
run: ./gradlew clean build --continue
22+
run: ./gradlew clean build --continue --scan

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ allprojects {
6666
}
6767
}
6868

69+
if (hasProperty('buildScan')) {
70+
buildScan {
71+
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
72+
termsOfServiceAgree = 'yes'
73+
}
74+
}
75+
6976
nohttp {
7077
allowlistFile = project.file("etc/nohttp/allowlist.lines")
7178
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77

88
plugins {
99
id "com.gradle.enterprise" version "3.2"
10-
id "io.spring.gradle-enterprise-conventions" version "0.0.2"
10+
id "io.spring.ge.conventions" version "0.0.6"
1111
}
1212

1313
rootProject.name = 'spring-security'

0 commit comments

Comments
 (0)