These are chat archives for jruby-gradle/jruby-gradle-plugin

24th
May 2016
wenhoujx
@wenhoujx
May 24 2016 20:07
@rtyler hi, i am having gem version conflict , it seems forcing a version doesn't work ?
Could not resolve rubygems:jar-dependencies:0.2.3.
Required by:
com.palantir.blackbird:blackbird-integration:3.2.1-dev.164+gbb94807.dirty
there is no overlap for [0.1.15,0.1.15] and 0.2.3
Could not resolve rubygems:multipart-post:[1.2.0,1.2.99999].
Required by:
com.palantir.blackbird:blackbird-integration:3.2.1-dev.164+gbb94807.dirty > rubygems:faraday:0.8.9
there is no overlap for [2.0.0,2.0.0] and [1.2.0,1.2.99999]

configurations.all {
resolutionStrategy {
force 'rubygems:multipart-post:2.0.0'
force 'rubygems:jar-dependencies:0.2.3'
}
}

dependencies {
compile 'org.jruby:jruby-complete:1.7.20'
jrubyJar "rubygems:stretcher:1.21.1"
jrubyJar "rubygems:faraday:0.8.9"
jrubyJar "rubygems:excon:0.48.0"
jrubyJar "rubygems:faraday_middleware:0.9.2"
jrubyJar "rubygems:faraday_middleware-multi_json:0.0.6"
jrubyJar "rubygems:hashie:3.4.3"
jrubyJar "rubygems:jar-dependencies:0.2.3"
jrubyJar "rubygems:jruby-openssl:0.9.15"
jrubyJar "rubygems:json:1.8.0"
jrubyJar "rubygems:minitest:5.4.1"
jrubyJar "rubygems:multi_json:1.11.2"
jrubyJar "rubygems:multipart-post:2.0.0"
}

Christian Meier
@mkristian
May 24 2016 20:09
@wenhoujx the jar-dependencies =0.1.15 is a bug inside the jruby-jar-gradle-plugin
wenhoujx
@wenhoujx
May 24 2016 20:10
hmm, thanks @mkristian how do i avoid it ?
Christian Meier
@mkristian
May 24 2016 20:14
hmm, not sure as you already tried what I wanted to suggest. pick the plugin code, remove the line: ./jruby-gradle-jar-plugin/src/main/groovy/com/github/jrubygradle/jar/JRubyJar.groovy: project.dependencies.add(config.name, 'rubygems:jar-dependencies:0.1.15')
and create a PR - in the past rolling a new release was pretty fast. for me it is getting to late (timzone-wise) to do this PR
sorry - it is know now for some time . . .
wenhoujx
@wenhoujx
May 24 2016 20:17
oh, i see, you want me to create a PR to merge into which branch?
Christian Meier
@mkristian
May 24 2016 20:18
master - if we always can cherry pick in case we need it somewhere else
wenhoujx
@wenhoujx
May 24 2016 20:18
ok
Christian Meier
@mkristian
May 24 2016 20:19
alternative you can roll your own local snapshot ;) but I am quite certain there is no other way then patching the plugin itself
wenhoujx
@wenhoujx
May 24 2016 20:20
haha, i don't like the idea of maintaining my local snapshot. do i have the right to pus h to your github repo ? sorry first time do this on github.
wenhoujx
@wenhoujx
May 24 2016 20:26
i cannot push.
permission denied
Christian Meier
@mkristian
May 24 2016 20:28
you need to clone the repo to your account and push it there. then create a PR - you will see how once you pushed it to your account and revisit the github page
wenhoujx
@wenhoujx
May 24 2016 20:28
ok
done, but after removing that line, the function is empty now
Christian Meier
@mkristian
May 24 2016 20:35
cleanup will do later, let's get bug fix release out. let's see what travis says
wenhoujx
@wenhoujx
May 24 2016 20:36
sweet.
Christian Meier
@mkristian
May 24 2016 20:36
will revisit tomorrow morning with a fresh mind and then hopefully @rtyler can help with the release.
wenhoujx
@wenhoujx
May 24 2016 20:37
y, thanks man
Christian Meier
@mkristian
May 24 2016 20:38
if you know how to use a snapshot plugin from via the local maven repo, then you could test the patch on your project ;)
wenhoujx
@wenhoujx
May 24 2016 20:39
y, i will give it a shot later tonight
Christian Meier
@mkristian
May 24 2016 20:39
cool
R. Tyler Croy
@rtyler
May 24 2016 21:01
I can definitely help with a release
Christian Meier
@mkristian
May 24 2016 21:05
@rtyler travis is red, so I need to have a closer look at the tests. but going to bed now . . . ping you once it is ready for release. but feel free to look yourself ;)
R. Tyler Croy
@rtyler
May 24 2016 21:06
@mkristian no problem
wenhoujx
@wenhoujx
May 24 2016 22:10
@rtyler where does ./gradlew publish publish to ?
i am try to build a local snapshot and test it
R. Tyler Croy
@rtyler
May 24 2016 22:54
wenhoujx: IIRC it publishes to bintray, but `install. should install to the local maven repository
eg.~/.m2`
@wenhoujx ^