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

11th
Aug 2015
Schalk W. Cronjé
@ysb33r
Aug 11 2015 11:59
\o/
R. Tyler Croy
@rtyler
Aug 11 2015 11:59
he's alive still!
Schalk W. Cronjé
@ysb33r
Aug 11 2015 11:59
in spain atm
R. Tyler Croy
@rtyler
Aug 11 2015 12:00
beautiful I presume?
Christian Meier
@mkristian
Aug 11 2015 16:34
I also have fix for the prerelease gem for gradle. jruby-gradle/jruby-gradle-plugin#181 - well adding test case is much more work than the fix :(
Schalk W. Cronjé
@ysb33r
Aug 11 2015 17:02
@rtyler pirenese mrns have been pretty stunning. Down on the coast now. Mediterranean Sea pretty beautiful too.
R. Tyler Croy
@rtyler
Aug 11 2015 17:05
very cool
@mkristian I'll take a look
@mkristian I mean, when the PR is created
R. Tyler Croy
@rtyler
Aug 11 2015 17:31
@ysb33r the groovy-gem work that I was doing, don't know if you saw some of my results, installs in ~5s for what took ~15s before
and of course the app runs properly :P
Schalk W. Cronjé
@ysb33r
Aug 11 2015 18:01
O_O
R. Tyler Croy
@rtyler
Aug 11 2015 18:02
\o/
that's for #159 fwiw
R. Tyler Croy
@rtyler
Aug 11 2015 18:12
@ysb33r I would appreciate some feedback on an approach for #183 if you have the extra time
I'm thinking of overwriting configure and just making the project dependencies update idempotent
Christian Meier
@mkristian
Aug 11 2015 18:50
a few days ago there was an discussion on just adding the packed gem to the classlaoder and let jruby handle the rest. I do like the current groovy code - the ruby gemspec seems to be straight forward. almost feels like the first three lines are sufficient (the stubs)
R. Tyler Croy
@rtyler
Aug 11 2015 18:51
@mkristian yes, that discussion sprang from some talk on twitter around the groovy-gem work
Christian Meier
@mkristian
Aug 11 2015 18:51
I see
R. Tyler Croy
@rtyler
Aug 11 2015 18:52
I'm definitely interested in that conceptually as well, but I don't want to touch it just yet
Christian Meier
@mkristian
Aug 11 2015 18:53
my thought was only that the whole lib would help to be in java. but there seems to be nicer tools in groovy to work with tar and tar.gz
R. Tyler Croy
@rtyler
Aug 11 2015 18:53
The tools aren't groovy specific
this is a good easy way to get a prototype built
it's very easy to take Groovy into Java code
Christian Meier
@mkristian
Aug 11 2015 18:53
ok
but my more important point would be to reuse it for the jruby-maven plugin as well.
R. Tyler Croy
@rtyler
Aug 11 2015 18:56
file an issue for me saying "rewrite this in Java plz"
:P
I spent far more time than I want to admit over the weekend learning about the intricasies of gemspecs and shit like that
I need to swap out some of the commons-vfs coe before its releasable
R. Tyler Croy
@rtyler
Aug 11 2015 19:03
@mkristian wat do you think about me renaming the repository from "groovy-gem" to "jem" and then I'll make sure it can be re-used by ruby-maven too
Christian Meier
@mkristian
Aug 11 2015 19:05
jem or jam - yes please
I'll play more after work
Christian Meier
@mkristian
Aug 11 2015 19:07
\o/
R. Tyler Croy
@rtyler
Aug 11 2015 19:08
gonna go get lunch
rtyler @rtyler noms
R. Tyler Croy
@rtyler
Aug 11 2015 19:39
gargh, addressing #183 makes me want to frisbee toss my laptop
so aggravating
Schalk W. Cronjé
@ysb33r
Aug 11 2015 19:43
As I remarked, we might be getting into space of having to force 2.5 in future
I just need to play with it a bit - pretty much what I am doing this week
R. Tyler Croy
@rtyler
Aug 11 2015 19:43
@ysb33r I'm not sure we can force that unless we jump to 2.x :)
Schalk W. Cronjé
@ysb33r
Aug 11 2015 19:44
I know - I just need to play a bit
R. Tyler Croy
@rtyler
Aug 11 2015 19:44
I'm kind of shocked there isn't a better facility to handle this
Schalk W. Cronjé
@ysb33r
Aug 11 2015 19:44
I also know there is an alternative way of adding dependencies in 2.0. Just need to play with that too.
R. Tyler Croy
@rtyler
Aug 11 2015 19:44
something in project.afterEvaluate is freezing the dependencies
@ysb33r the fact that jruby.defaultVersion needs to be consulted means we have to evaluate as late as possible
but other than afterEvaluate, I'm not sure what is a way to handle that
Schalk W. Cronjé
@ysb33r
Aug 11 2015 19:55
so something is causing an early evaluation of the dependencies, before jrubyVersion is consulted?
R. Tyler Croy
@rtyler
Aug 11 2015 19:56
for the bug? no, it seems like a task is being added after a configuratoin has been "closed"
R. Tyler Croy
@rtyler
Aug 11 2015 21:15
@ysb33r if gradle had an events system, I could set up an event handler for when jruby.defaultVersion changed and avoid all kinds of bullshit