add main classs to manifest
This commit is contained in:
parent
bc8d0cca69
commit
991c864826
1 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,12 @@ java {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<Jar> {
|
||||||
|
manifest {
|
||||||
|
attributes["Main-Class"] = "pl.jacekpoz.Main"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
// Define the main class for the application.
|
// Define the main class for the application.
|
||||||
mainClass = "pl.jacekpoz.Main"
|
mainClass = "pl.jacekpoz.Main"
|
||||||
|
|
Loading…
Reference in a new issue