Fixed main class
This commit is contained in:
parent
b963a53d85
commit
f1f07a3515
@ -13,7 +13,7 @@ javafx {
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = "client.MainApplication"
|
||||
mainClassName = "main.MainApplication"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@ -27,7 +27,7 @@ dependencies {
|
||||
|
||||
val jar by tasks.getting(Jar::class) {
|
||||
manifest {
|
||||
attributes["Main-Class"] = "client.Launcher"
|
||||
attributes["Main-Class"] = "main.Launcher"
|
||||
}
|
||||
from({
|
||||
configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) }
|
||||
|
Loading…
Reference in New Issue
Block a user