include app in built artifacts

This commit is contained in:
dags- 2020-02-26 15:02:07 +00:00
parent 7add03598e
commit 73b5e57579
1 changed files with 7 additions and 0 deletions

View File

@ -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)
}