plugins { application } java { toolchain { languageVersion = JavaLanguageVersion.of(8) } } group = "dev.figboot.launcher" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation(project(":core")) runtimeOnly("org.slf4j:slf4j-jdk14:2.0.17") testImplementation(platform("org.junit:junit-bom:5.10.0")) testImplementation("org.junit.jupiter:junit-jupiter") } tasks.test { useJUnitPlatform() } application { mainClass = "dev.figboot.launcher.gui.GUIMain" applicationDefaultJvmArgs = listOf("-Dswing.aatext=true", "-Dawt.useSystemAAFontSettings=lcd") } tasks.register("fatJar") { manifest { attributes("Main-Class" to "dev.figboot.launcher.gui.GUIMain") } from(sourceSets.main.get().runtimeClasspath.map { if (it.isDirectory) { it } else { zipTree(it) } } ) duplicatesStrategy = DuplicatesStrategy.EXCLUDE }