aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web-db/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web-db/build.gradle')
-rw-r--r--pdf-as-web-db/build.gradle9
1 files changed, 8 insertions, 1 deletions
diff --git a/pdf-as-web-db/build.gradle b/pdf-as-web-db/build.gradle
index c29fff66..51897928 100644
--- a/pdf-as-web-db/build.gradle
+++ b/pdf-as-web-db/build.gradle
@@ -1,5 +1,6 @@
apply plugin: 'java'
apply plugin: 'eclipse'
+apply plugin: 'java-library-distribution'
jar {
manifest {
@@ -23,5 +24,11 @@ dependencies {
task releases(type: Copy) {
from jar.outputs
+ from distZip.outputs
+ from distTar.outputs
into rootDir.toString() + "/releases/" + version
-} \ No newline at end of file
+}
+
+releases.dependsOn jar
+releases.dependsOn distZip
+releases.dependsOn distTar