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
1 changed files with 4 additions and 0 deletions

View File

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