include app in built artifacts
This commit is contained in:
parent
7add03598e
commit
73b5e57579
|
@ -1,3 +1,6 @@
|
|||
apply plugin: "maven-publish"
|
||||
apply plugin: "java"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
|
@ -12,4 +15,8 @@ jar {
|
|||
manifest { attributes "Main-Class": "com.terraforged.app.Main" }
|
||||
|
||||
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
}
|
||||
|
||||
publish {
|
||||
dependsOn(jar)
|
||||
}
|
Loading…
Reference in New Issue