Skip to content

Commit a5027b4

Browse files
committed
Publish Build Scans from CI
1 parent 9a5accb commit a5027b4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
with:
2828
cache-read-only: ${{ github.event_name == 'pull_request' }}
2929
- name: Build
30-
run: ./gradlew build ${{ matrix.config.params }}
30+
run: ./gradlew --scan build ${{ matrix.config.params }}

build.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,12 @@ tasks.wrapper {
140140
gradleVersion = "6.8.3"
141141
distributionType = Wrapper.DistributionType.ALL
142142
}
143+
144+
gradleEnterprise {
145+
buildScan {
146+
termsOfServiceUrl = "https://gradle.com/terms-of-service"
147+
if (System.getenv().containsKey("CI")) {
148+
termsOfServiceAgree = "yes"
149+
}
150+
}
151+
}

0 commit comments

Comments
 (0)