2018-07-15 04:09:40 +02:00
|
|
|
plugins {
|
2020-12-22 23:01:15 +01:00
|
|
|
id 'application'
|
2018-07-15 04:09:40 +02:00
|
|
|
id "com.github.johnrengelman.shadow"
|
2021-02-05 05:05:48 +01:00
|
|
|
id 'io.freefair.lombok'
|
2018-07-15 04:09:40 +02:00
|
|
|
}
|
2015-02-19 23:30:09 +01:00
|
|
|
|
2022-04-26 23:42:15 +02:00
|
|
|
application {
|
|
|
|
mainClassName = "com.skcraft.launcher.Bootstrap"
|
|
|
|
}
|
2015-02-19 23:30:09 +01:00
|
|
|
|
|
|
|
dependencies {
|
2022-04-26 23:42:15 +02:00
|
|
|
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
|
2022-04-27 00:02:58 +02:00
|
|
|
implementation 'javax.xml.bind:jaxb-api:2.3.1'
|
2015-02-19 23:30:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
filesMatching('**/*.properties') {
|
|
|
|
filter {
|
|
|
|
it.replace('${project.version}', project.version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
2022-04-27 02:53:14 +02:00
|
|
|
archiveClassifier.set("")
|
2015-02-19 23:30:09 +01:00
|
|
|
}
|
|
|
|
|
2022-04-26 23:42:15 +02:00
|
|
|
build {
|
|
|
|
dependsOn(shadowJar)
|
|
|
|
}
|