diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d71859d1..b5e2986b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/build.gradle.kts b/build.gradle.kts index 536c9074..135e3206 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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" + } + } +}