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

20th
Oct 2014
R. Tyler Croy
@rtyler
Oct 20 2014 17:10
@ysb33r https://gist.github.com/rtyler/dfbf7b68df0bd2bfa854#file-build-gradle-L83 got a sec? I feel like I'm taking crazy pills here
it's not clear at all why hello_world_topology.rb isn't being included in the shadow jar
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:34
Must be the lack of cider :P
R. Tyler Croy
@rtyler
Oct 20 2014 17:34
heh
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:34
I think you need to do something like
R. Tyler Croy
@rtyler
Oct 20 2014 17:34
interestingly, I put that source file in a directory
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:34
```groovy
R. Tyler Croy
@rtyler
Oct 20 2014 17:34
and then I did from 'topologies' and it worked
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:34
ugh!!!!
R. Tyler Croy
@rtyler
Oct 20 2014 17:34
you can do muitiline here
there's a little icon in the far right of the text input
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:35
I know, but I forgot to do that
anyhow you got the right answer
from will point to a directory, you can then do
from ‘dir’ {
  include ‘foo.rb’
}
R. Tyler Croy
@rtyler
Oct 20 2014 17:36
ahhhh, interesting
good to know
Schalk W. Cronjé
@ysb33r
Oct 20 2014 17:37

sorry, should read

from (‘dir’) { … }

OR

from ‘dir’, { … }
rtyler @rtyler nods