added building standalone
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/.gradle/
|
||||
/bin/
|
||||
/build/
|
||||
|
@ -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) }
|
||||
}
|
||||
|
Reference in New Issue
Block a user