1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00
SKCraft-Launcher/launcher-fancy/build.gradle

37 lines
784 B
Groovy
Raw Normal View History

plugins {
id 'application'
id "com.github.johnrengelman.shadow"
id 'io.freefair.lombok'
}
2022-04-26 23:42:15 +02:00
application {
mainClassName = "com.skcraft.launcher.FancyLauncher"
}
repositories {
maven {
name = 'obw maven'
url = 'https://maven.offbeatwit.ch/repository/snapshots'
}
}
dependencies {
implementation project(path: ':launcher')
2022-04-26 23:42:15 +02:00
implementation 'io.github.cottonmc.insubstantial:substance:7.3.1-SNAPSHOT'
}
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')
2022-04-26 23:42:15 +02:00
build {
dependsOn(shadowJar)
}