Ensure that the warbler-bootstrap code is in the jrubyEmbeds configuration

This will ensure the JRubyWar task unzips it into the destination package

Fixes #5
This commit is contained in:
R. Tyler Croy 2014-12-06 15:53:42 -08:00
parent 728e90cb72
commit 907d2f40a8
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import org.gradle.api.tasks.bundling.War
*/
class JRubyWar extends War {
static final String JRUBYWAR_MAINCLASS = 'com.lookout.jruby.WarMain'
static final String JRUBYWAR_MAINCLASS = 'com.github.jrubygradle.warbler.WarMain'
static final String JRUBYWAR_CONFIG = 'jrubyWar'
/** Setting the main class allows for a runnable War.

View File

@ -23,7 +23,7 @@ class JRubyWarPlugin implements Plugin<Project> {
JRubyWar.updateJRubyDependencies(project)
project.dependencies {
compile group: 'com.github.jruby-gradle', name: 'warbler-bootstrap', version: '0.1.1+'
jrubyEmbeds group: 'com.github.jruby-gradle', name: 'warbler-bootstrap', version: '0.2.0+'
}
}