Fixed main class
This commit is contained in:
parent
b963a53d85
commit
f1f07a3515
@ -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) }
|
||||||
|
Loading…
Reference in New Issue
Block a user