added building standalone

This commit is contained in:
Jörg Henke
2025-05-06 21:03:45 +02:00
parent 45af8e7904
commit c156d2b426
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

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

View File

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