Skip to content
This repository was archived by the owner on May 19, 2019. It is now read-only.

Commit 1d9c3ca

Browse files
committed
Fixed the dependency 'jar' from 'java' plugin needs to have on 'jrubyPrepareGems'
1 parent 1829725 commit 1d9c3ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/groovy/com/github/jrubygradle/jar/JRubyJarPlugin.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class JRubyJarPlugin implements Plugin<Project> {
3333
project.tasks.whenTaskAdded { Task t ->
3434
if(t.name == 'test' && t instanceof Test) {
3535
project.configure(t,testConfiguration)
36+
} else if (t.name == 'jar' && t instanceof Jar) {
37+
t.dependsOn 'jrubyPrepareGems'
3638
}
3739
}
3840
}

0 commit comments

Comments
 (0)