Skip to content

Commit 9eaeeb9

Browse files
committed
build: accept gradle tos
1 parent 8e8d6d4 commit 9eaeeb9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ fun getNpm(): String {
4949
"npm"
5050
}
5151
}
52+
53+
if (hasProperty("buildScan")) {
54+
extensions.findByName("buildScan")?.withGroovyBuilder {
55+
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
56+
setProperty("termsOfServiceAgree", "yes")
57+
}
58+
}

0 commit comments

Comments
 (0)