mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-28 12:57:07 +01:00
33 lines
631 B
Groovy
33 lines
631 B
Groovy
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
version = "2.0.1-SNAPSHOT"
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
compile project(':launcher-builder')
|
|
compile 'org.eclipse.jetty:jetty-server:9.3.1.v20150714'
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('**/*.properties') {
|
|
filter {
|
|
it.replace('${project.version}', project.version)
|
|
}
|
|
}
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes("Main-Class": "com.skcraft.launcher.creator.Creator")
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
exclude(dependency('org.projectlombok:lombok'))
|
|
}
|
|
}
|
|
|
|
build.dependsOn(shadowJar)
|