Add support for generating the shadowJar

Currently this doesn't properly pick up the configuration file from within the
archive so the topics/brokers pages will break if you don't pass in:
    -Dzookeepers=localhost:2181
This commit is contained in:
R. Tyler Croy 2015-09-02 07:19:45 -07:00
parent 48cb3ac459
commit 20d90058e9
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ buildscript {
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:[1.3.1,1.4)'
classpath 'io.ratpack:ratpack-gradle:[0.9.19,1.0)'
classpath 'com.github.jengelman.gradle.plugins:shadow:[1.2.2,1.3)'
}
}
@ -16,6 +17,7 @@ apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'io.ratpack.ratpack-groovy'
apply plugin: 'com.github.johnrengelman.shadow'
////////////////////////////////////////////////////////////////////////////////
version = '0.2.0'
@ -68,6 +70,8 @@ run {
dependsOn check
}
assemble.dependsOn shadowJar
////////////////////////////////////////////////////////////////////////////////
// RELEASING
////////////////////////////////////////////////////////////////////////////////