File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
main/groovy/com/lookout/jruby
test/groovy/com/lookout/jruby Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,6 @@ class JRubyWar extends War {
25
25
// Bring in any compiled classes from our project
26
26
from " $project . buildDir /classes/main"
27
27
28
- // Bring our vendored gems into the created war file
29
- webInf {
30
- from project. jruby. gemInstallDir
31
- into ' gems'
32
- }
33
-
34
28
// note that zipTree call is wrapped in closure so that configuration
35
29
// is only resolved at execution time. This will take the embeds
36
30
// from within the `jrubyEmbeds` configuration and dump them into the war
@@ -43,6 +37,12 @@ class JRubyWar extends War {
43
37
44
38
@Override
45
39
void copy () {
40
+ // Bring our vendored gems into the created war file
41
+ webInf {
42
+ from project. jruby. gemInstallDir
43
+ into ' gems'
44
+ }
45
+
46
46
manifest {
47
47
attributes ' Main-Class' : mainClass
48
48
}
Original file line number Diff line number Diff line change @@ -28,6 +28,6 @@ class JRubyJarSpec extends Specification {
28
28
def " basic sanity check" () {
29
29
expect : " jarTask to be an instance"
30
30
jarTask instanceof JRubyJar
31
- jarTask . group == ' JRuby'
31
+ project . tasks . jrubyJar . group == ' JRuby'
32
32
}
33
33
}
You can’t perform that action at this time.
0 commit comments