Add build scans to PR builds

This commit is contained in:
Ellie Bahadori 2020-09-30 07:20:12 -07:00 committed by GitHub
parent 6d14482378
commit 7ef3f61924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -19,4 +19,4 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Build with Gradle
run: ./gradlew clean build --continue
run: ./gradlew clean build --continue --scan

View File

@ -66,6 +66,13 @@ allprojects {
}
}
if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}
nohttp {
allowlistFile = project.file("etc/nohttp/allowlist.lines")
}

View File

@ -7,7 +7,7 @@ pluginManagement {
plugins {
id "com.gradle.enterprise" version "3.2"
id "io.spring.gradle-enterprise-conventions" version "0.0.2"
id "io.spring.ge.conventions" version "0.0.6"
}
rootProject.name = 'spring-security'