gradle-build-action/__tests__/samples/no-wrapper-gradle-4/settings.gradle
2021-09-29 13:34:05 -06:00

8 lines
No EOL
345 B
Groovy

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}")
}