Set mainClass name in application section

This commit is contained in:
Paul Schaub 2022-04-11 12:12:19 +02:00
parent 866bc92d07
commit 4b6f00e40e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -23,6 +23,10 @@ dependencies {
mainClassName = 'sop.cli.picocli.SopCLI'
application {
mainClass = mainClassName
}
jar {
manifest {
attributes 'Main-Class': "$mainClassName"