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