debug: checking whether secrets are passed to Gradle correctly

This commit is contained in:
Schalk Cronje 2021-05-03 16:17:00 +02:00
parent e162ad9e0c
commit 1dcf24b69a
1 changed files with 6 additions and 1 deletions

View File

@ -92,7 +92,12 @@ subprojects {
website = 'http://jruby-gradle.org/'
vcsUrl = 'https://github.com/jruby-gradle/jruby-gradle-plugin.git'
}
publishPlugins.doFirst {
println "U: ${'*' * System.getProperty('gradle.publish.key').toInteger()}"
println "P: ${'*' * System.getProperty('gradle.publish.secret').toInteger()}"
}
tasks.withType(Test) {
if (gradle.startParameter.isOffline()) {
systemProperties 'TESTS_ARE_OFFLINE': '1'