Dump the redstorm contents into the resulting archive

This commit is contained in:
R. Tyler Croy 2015-08-14 16:23:04 -07:00
parent d7288e23a9
commit 363821f23b
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ class JRubyStormJar extends JRubyJar {
@Override
void copy() {
if (parentTask) {
File redstorm = parentTask.configuration.find {
it.name.matches(/redstorm-(.*).jar/)
}
from { project.zipTree(redstorm) }
}
if (parentTask.topology) {
into('') { from parentTask.topology }
}