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
2022-08-28 00:37:36 +01:00

29 lines
645 B
Groovy

plugins {
id 'application'
id 'java-library'
id "com.github.johnrengelman.shadow"
id 'io.freefair.lombok'
}
application {
mainClassName = "com.skcraft.launcher.builder.PackageBuilder"
}
dependencies {
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)