Skip to content

Commit c7c7cc7

Browse files
authored
Merge pull request #26 from civitaspo/hotfix/jruby-gradle-version
Update jruby-gradle plugin (0.1.5 -> 1.5.0)
2 parents ba46830 + ee42fcc commit c7c7cc7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "com.jfrog.bintray" version "1.1"
3-
id "com.github.jruby-gradle.base" version "0.1.5"
3+
id "com.github.jruby-gradle.base" version "1.5.0"
44
id "java"
55
id "checkstyle"
66
id "com.github.kt3k.coveralls" version "2.4.0"
@@ -61,14 +61,16 @@ task checkstyle(type: Checkstyle) {
6161
}
6262

6363
task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
64-
jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
65-
script "${project.name}.gemspec"
64+
jrubyArgs "-S"
65+
script "gem"
66+
scriptArgs "build", "${project.name}.gemspec"
6667
doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
6768
}
6869

6970
task gemPush(type: JRubyExec, dependsOn: ["gem"]) {
70-
jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "push"
71-
script "pkg/${project.name}-${project.version}.gem"
71+
jrubyArgs "-S"
72+
script "gem"
73+
scriptArgs "push", "pkg/${project.name}-${project.version}.gem"
7274
}
7375

7476
task "package"(dependsOn: ["gemspec", "classpath"]) {

0 commit comments

Comments
 (0)