Skip to content

Commit

Permalink
Publish Build Scans from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed May 27, 2022
1 parent 9a5accb commit a5027b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
with:
cache-read-only: ${{ github.event_name == 'pull_request' }}
- name: Build
run: ./gradlew build ${{ matrix.config.params }}
run: ./gradlew --scan build ${{ matrix.config.params }}
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,12 @@ tasks.wrapper {
gradleVersion = "6.8.3"
distributionType = Wrapper.DistributionType.ALL
}

gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
if (System.getenv().containsKey("CI")) {
termsOfServiceAgree = "yes"
}
}
}

0 comments on commit a5027b4

Please sign in to comment.