blob: f9b459e23983d0523987618294449b94bdff10b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
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<Jar>("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
}
|