mirror of https://github.com/reiseburo/offtopic
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:
parent
48cb3ac459
commit
20d90058e9
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue