Compare commits
2 Commits
2e22ec2126
...
4fba3bb2b5
Author | SHA1 | Date |
---|---|---|
Uwe Kubosch | 4fba3bb2b5 | |
Uwe Kubosch | efe6ed26d9 |
|
@ -175,7 +175,7 @@ class JRubyExecUtils {
|
|||
cmdArgs.addAll(jrubyArgs)
|
||||
|
||||
if (useBinPath && script != null) {
|
||||
if (script.isAbsolute() && (!script.exists())) {
|
||||
if (script.absolute && (!script.exists())) {
|
||||
throw new InvalidUserDataException("${script} does not exist")
|
||||
}
|
||||
cmdArgs.add(script.toString())
|
||||
|
@ -184,7 +184,7 @@ class JRubyExecUtils {
|
|||
throw new InvalidUserDataException('No `script` property defined and no inline script provided')
|
||||
}
|
||||
|
||||
if (jrubyArgs.isEmpty()) {
|
||||
if (jrubyArgs.empty) {
|
||||
throw new InvalidUserDataException('Cannot build JRuby execution arguments with either `script` or `jrubyArgs` set')
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,9 +74,9 @@ subprojects {
|
|||
gradleTest {
|
||||
// https://github.com/jruby-gradle/jruby-gradle-plugin/issues/346
|
||||
if (JavaVersion.current().java11) {
|
||||
versions '5.0', '5.4.1', '6.0.1', '6.7'
|
||||
versions '5.0', '5.4.1', '6.0.1', '6.7', '7.6.1'
|
||||
} else {
|
||||
versions '4.10.2', '5.3.1', '6.0.1', '6.7'
|
||||
versions '4.10.2', '5.3.1', '6.0.1', '6.7', '7.6.1'
|
||||
|
||||
if(project.name == 'jruby-gradle-core-plugin' ) {
|
||||
versions '4.3'
|
||||
|
|
|
@ -5,7 +5,7 @@ buildscript {
|
|||
}
|
||||
dependencies {
|
||||
/* wow. so recursion */
|
||||
classpath "com.github.jruby-gradle:jruby-gradle-plugin:1.0.3"
|
||||
classpath "com.github.jruby-gradle:jruby-gradle-plugin:1.1.1"
|
||||
}
|
||||
}
|
||||
apply plugin: 'org.ajoberstar.github-pages'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version=2.1.0-beta.0
|
||||
version=2.1.0-beta.1
|
||||
group=com.github.jruby-gradle
|
||||
copyrightYear=2014-2023
|
||||
|
||||
|
|
Loading…
Reference in New Issue