File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11plugins {
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
6363task 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
6970task 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
7476task " package" (dependsOn : [" gemspec" , " classpath" ]) {
You can’t perform that action at this time.
0 commit comments