2015-07-21 00:03:15 +02:00
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
|
2015-07-24 08:46:18 +02:00
|
|
|
version = "2.0"
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
2015-07-21 00:03:15 +02:00
|
|
|
dependencies {
|
|
|
|
compile project(':launcher-builder')
|
|
|
|
compile 'org.eclipse.jetty:jetty-server:9.3.1.v20150714'
|
|
|
|
}
|
|
|
|
|
2015-07-24 08:46:18 +02:00
|
|
|
processResources {
|
|
|
|
filesMatching('**/*.properties') {
|
|
|
|
filter {
|
|
|
|
it.replace('${project.version}', project.version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-21 00:03:15 +02:00
|
|
|
jar {
|
|
|
|
manifest {
|
2015-07-24 08:46:18 +02:00
|
|
|
attributes("Main-Class": "com.skcraft.launcher.creator.Creator")
|
2015-07-21 00:03:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
exclude(dependency('org.projectlombok:lombok'))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
build.dependsOn(shadowJar)
|