Accept Gradle terms if buildScan property set by developer

This commit is contained in:
Alva Swanson 2023-05-08 08:39:15 +02:00
parent b90776989b
commit 59521731c9
No known key found for this signature in database
GPG key ID: 004760E77F753090

View file

@ -522,3 +522,10 @@ configure(project(':apitest')) {
testRuntimeOnly(libs.junit.jupiter.engine) testRuntimeOnly(libs.junit.jupiter.engine)
} }
} }
if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}