diff --git a/base-plugin/src/main/groovy/com/github/jrubygradle/internal/JRubyExecUtils.groovy b/base-plugin/src/main/groovy/com/github/jrubygradle/internal/JRubyExecUtils.groovy index 2026f9f..19bbc67 100644 --- a/base-plugin/src/main/groovy/com/github/jrubygradle/internal/JRubyExecUtils.groovy +++ b/base-plugin/src/main/groovy/com/github/jrubygradle/internal/JRubyExecUtils.groovy @@ -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') } } diff --git a/docs/build.gradle b/docs/build.gradle index d066839..59fb6f3 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -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' diff --git a/gradle.properties b/gradle.properties index 0eb590f..736688e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=2.1.0-beta.0 +version=2.1.0-beta.1 group=com.github.jruby-gradle copyrightYear=2014-2023