Skip to content

Commit

Permalink
Accept Gradle terms if buildScan property set by developer
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed May 8, 2023
1 parent b907769 commit 5952173
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -522,3 +522,10 @@ configure(project(':apitest')) {
testRuntimeOnly(libs.junit.jupiter.engine)
}
}

if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}

0 comments on commit 5952173

Please sign in to comment.