Add the base files to the Launcher Git.

This commit is contained in:
Charles Descamps 2024-12-12 10:36:18 -07:00
parent d1b3d2168c
commit 7242015c76
376 changed files with 27499 additions and 2 deletions

View file

@ -0,0 +1,36 @@
plugins {
id 'application'
id "com.github.johnrengelman.shadow"
id 'io.freefair.lombok'
}
application {
mainClassName = "com.skcraft.launcher.FancyLauncher"
}
repositories {
maven {
name = 'bbkr.space maven'
url = 'https://server.bbkr.space/artifactory/libs-snapshot'
}
}
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)
}