mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
28 lines
547 B
Groovy
28 lines
547 B
Groovy
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes("Main-Class": "com.skcraft.launcher.Bootstrap")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compile 'org.projectlombok:lombok:1.12.2'
|
||
|
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
||
|
}
|
||
|
|
||
|
processResources {
|
||
|
filesMatching('**/*.properties') {
|
||
|
filter {
|
||
|
it.replace('${project.version}', project.version)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
shadowJar {
|
||
|
dependencies {
|
||
|
exclude(dependency('org.projectlombok:lombok'))
|
||
|
}
|
||
|
}
|
||
|
|
||
|
build.dependsOn(shadowJar)
|