mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-27 17:56:19 +08:00
951bc8ab16
* Update Gradle Enterprise plugin to 3.12.6 * Update CCUD plugin to 1.10 * Update Gradle to 8.0.2 * Use latest patch versions of Gradle 6.x and 7.x
21 lines
611 B
Groovy
21 lines
611 B
Groovy
plugins {
|
|
id "com.gradle.enterprise" version "3.12.6"
|
|
}
|
|
|
|
gradleEnterprise {
|
|
buildScan {
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
termsOfServiceAgree = "yes"
|
|
publishAlways()
|
|
uploadInBackground = false
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'no-wrapper'
|
|
|
|
println "Using Gradle version: ${gradle.gradleVersion}"
|
|
|
|
def gradleVersionCheck = System.properties.gradleVersionCheck
|
|
if (gradleVersionCheck && gradle.gradleVersion != gradleVersionCheck) {
|
|
throw new RuntimeException("Got the wrong version: expected ${gradleVersionCheck} but was ${gradle.gradleVersion}")
|
|
} |