Moved workflow samples out of .github/workflows

The `.github/workflows` directory has additional permissions attached, preventing these
files from being by the Upgrade Gradle Wrapper plugin.
This commit is contained in:
Daz DeBoer 2022-04-05 09:45:02 -06:00
parent 3317bc450c
commit 3c3fdfcc0c
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
55 changed files with 57 additions and 57 deletions

View file

@ -0,0 +1,12 @@
plugins {
id "com.gradle.build-scan" version "3.9"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
uploadInBackground = false
}
}

View file

@ -0,0 +1,8 @@
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}")
}