1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00
SKCraft-Launcher/launcher-builder/build.gradle

29 lines
645 B
Groovy
Raw Normal View History

plugins {
id 'application'
2022-04-26 23:42:15 +02:00
id 'java-library'
id "com.github.johnrengelman.shadow"
id 'io.freefair.lombok'
}
2022-04-26 23:42:15 +02:00
application {
mainClassName = "com.skcraft.launcher.builder.PackageBuilder"
}
dependencies {
2022-04-26 23:42:15 +02:00
api project(':launcher')
implementation 'org.apache.commons:commons-compress:1.21'
}
shadowJar {
dependsOn ':launcher:shadowJar'
archiveClassifier.set("")
}
// Work around gradle shadow bug
// see https://github.com/johnrengelman/shadow/issues/713
startScripts.dependsOn(':launcher:shadowJar')
distTar.dependsOn(':launcher:shadowJar')
distZip.dependsOn(':launcher:shadowJar')
build.dependsOn(shadowJar)