Add buildscan

This commit is contained in:
Him188 2021-04-10 15:53:05 +08:00
parent eb240f3a75
commit c3fbff1807
2 changed files with 6 additions and 1 deletions

View File

@ -16,4 +16,4 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build --scan

View File

@ -51,6 +51,11 @@ subprojects {
}
}
extensions.findByName("buildScan")?.withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}
val experimentalAnnotations = arrayOf(
"kotlin.Experimental",
"kotlin.RequiresOptIn",