Skip to content

Commit

Permalink
Merge pull request finos#135 from gyorokpeter/build
Browse files Browse the repository at this point in the history
restore application/mainClass attribute
  • Loading branch information
gyorokpeter authored Jul 1, 2022
2 parents 75283fd + adcfe5b commit 20616f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,15 @@ dependencies {
intTestImplementation group: 'org.assertj', name: 'assertj-swing-junit', version: '3.9.2'
}

application {
mainClass = 'studio.core.Studio'
}

jar {
manifest {
attributes(
'Class-Path': configurations.runtimeClasspath.files.collect { it.getName() }.join(' '),
'Main-Class': 'studio.core.Studio'
'Main-Class': application.mainClass
)
}
}
Expand Down

0 comments on commit 20616f6

Please sign in to comment.