Commit de7140f5 authored by Gerald Oster's avatar Gerald Oster
Browse files

[chore] add main-class attribute in MANIFEST.MF in .jar

parent fbdbd7bd
......@@ -32,7 +32,7 @@ dependencies {
application {
// mainModule = "eu.telecomnancy.javafx"
mainModule = "eu.telecomnancy.javafx"
// mainClass = "$mainModule/eu.telecomnancy.javafx.MainApp"
// mainClassName = "eu.telecomnancy.javafx.MainApp"
mainClass.set("eu.telecomnancy.javafx.MainApp")
......@@ -55,3 +55,12 @@ jlink {
name = 'eu.telecomnancy.javafx'
}
}
jar {
manifest {
attributes(
'Main-Class': 'eu.telecomnancy.javafx.MainApp'
)
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment