Browse Source

Add build scans to PR builds

pull/9089/head
Ellie Bahadori 5 years ago committed by GitHub
parent
commit
7ef3f61924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/pr-build-workflow.yml
  2. 7
      build.gradle
  3. 2
      settings.gradle

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

@ -19,4 +19,4 @@ jobs: @@ -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

7
build.gradle

@ -66,6 +66,13 @@ allprojects { @@ -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")
}

2
settings.gradle

@ -7,7 +7,7 @@ pluginManagement { @@ -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'

Loading…
Cancel
Save