mirror of
https://github.com/mamoe/mirai.git
synced 2026-09-04 22:22:54 +08:00
Add buildscan
This commit is contained in:
2
.github/workflows/Gradle CI.yml
vendored
2
.github/workflows/Gradle CI.yml
vendored
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user