mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 06:50:08 +08:00
Add buildscan
This commit is contained in:
parent
eb240f3a75
commit
c3fbff1807
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
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- 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(
|
val experimentalAnnotations = arrayOf(
|
||||||
"kotlin.Experimental",
|
"kotlin.Experimental",
|
||||||
"kotlin.RequiresOptIn",
|
"kotlin.RequiresOptIn",
|
||||||
|
Loading…
Reference in New Issue
Block a user