Compare commits

...

2 Commits

2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/.gradle/ /.gradle/
/bin/ /bin/
/build/

View File

@ -18,7 +18,7 @@ dependencies {
} }
application { application {
mainClass = 'Main' mainClass = 'de.jottyfan.guitools.Main'
} }
test { test {
@ -28,11 +28,12 @@ test {
jar { jar {
manifest { manifest {
attributes ( attributes (
'Main-Class': 'Main', 'Main-Class': application.mainClass,
'Implementation-Version': version 'Implementation-Version': version
) )
} }
archiveBaseName = project.name archiveBaseName = project.name
archiveVersion = project.version
from { from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
} }