mirror of
https://github.com/gradle/actions
synced 2024-11-24 02:12:12 +00:00
20 lines
No EOL
580 B
Groovy
20 lines
No EOL
580 B
Groovy
plugins {
|
|
id "com.gradle.develocity" version "3.18.2"
|
|
}
|
|
|
|
develocity {
|
|
buildScan {
|
|
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
|
|
termsOfUseAgree = "yes"
|
|
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}")
|
|
} |