mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
37 lines
784 B
Groovy
37 lines
784 B
Groovy
plugins {
|
|
id 'application'
|
|
id "com.github.johnrengelman.shadow"
|
|
id 'io.freefair.lombok'
|
|
}
|
|
|
|
application {
|
|
mainClassName = "com.skcraft.launcher.FancyLauncher"
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name = 'obw maven'
|
|
url = 'https://maven.offbeatwit.ch/repository/snapshots'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(path: ':launcher')
|
|
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')
|
|
|
|
build {
|
|
dependsOn(shadowJar)
|
|
}
|