2015-02-19 06:29:39 +01:00
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes("Main-Class": "com.skcraft.launcher.Launcher")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'org.projectlombok:lombok:1.12.2'
|
|
|
|
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.0'
|
|
|
|
compile 'commons-lang:commons-lang:2.6'
|
|
|
|
compile 'commons-io:commons-io:1.2'
|
|
|
|
compile 'com.google.guava:guava:15.0'
|
|
|
|
compile 'com.beust:jcommander:1.32'
|
2015-02-19 13:05:53 +01:00
|
|
|
compile 'com.miglayout:miglayout:3.7.4'
|
2015-07-28 04:56:53 +02:00
|
|
|
compile 'com.google.code.findbugs:jsr305:3.0.0'
|
2015-02-19 06:29:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
filesMatching('**/*.properties') {
|
|
|
|
filter {
|
|
|
|
it.replace('${project.version}', project.version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
exclude(dependency('org.projectlombok:lombok'))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-28 04:56:53 +02:00
|
|
|
build.dependsOn(shadowJar)
|