Fixed main class

This commit is contained in:
Marc Beyer 2022-01-25 19:18:38 +01:00
parent b963a53d85
commit f1f07a3515

View File

@ -13,7 +13,7 @@ javafx {
} }
application { application {
mainClassName = "client.MainApplication" mainClassName = "main.MainApplication"
} }
repositories { repositories {
@ -27,7 +27,7 @@ dependencies {
val jar by tasks.getting(Jar::class) { val jar by tasks.getting(Jar::class) {
manifest { manifest {
attributes["Main-Class"] = "client.Launcher" attributes["Main-Class"] = "main.Launcher"
} }
from({ from({
configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) } configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) }