2018-07-15 04:09:40 +02:00
|
|
|
plugins {
|
2020-12-22 23:01:15 +01:00
|
|
|
id 'application'
|
2022-04-26 23:42:15 +02:00
|
|
|
id 'java-library'
|
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 06:29:39 +01:00
|
|
|
|
2022-04-26 23:42:15 +02:00
|
|
|
application {
|
|
|
|
mainClassName = "com.skcraft.launcher.Launcher"
|
|
|
|
}
|
2015-02-19 06:29:39 +01:00
|
|
|
|
|
|
|
dependencies {
|
2022-04-27 00:02:58 +02:00
|
|
|
api 'javax.xml.bind:jaxb-api:2.3.1'
|
|
|
|
api 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
|
2022-04-26 23:42:15 +02:00
|
|
|
api 'commons-lang:commons-lang:2.6'
|
|
|
|
api 'commons-io:commons-io:1.2'
|
|
|
|
api 'com.google.guava:guava:15.0'
|
2022-04-27 00:02:58 +02:00
|
|
|
api 'com.beust:jcommander:1.82'
|
2022-04-26 23:42:15 +02:00
|
|
|
api 'com.miglayout:miglayout:3.7.4'
|
2022-04-27 00:02:58 +02:00
|
|
|
api 'com.google.code.findbugs:jsr305:3.0.2'
|
2022-04-26 23:42:15 +02:00
|
|
|
|
|
|
|
implementation 'com.googlecode.plist:dd-plist:1.23'
|
2022-04-27 00:02:58 +02:00
|
|
|
implementation 'net.java.dev.jna:jna-platform:5.11.0'
|
2015-02-19 06:29:39 +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 06:29:39 +01:00
|
|
|
}
|
|
|
|
|
2022-04-26 23:42:15 +02:00
|
|
|
build {
|
|
|
|
dependsOn(shadowJar)
|
|
|
|
}
|