aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/build.gradle')
-rw-r--r--pdf-as-lib/build.gradle16
1 files changed, 6 insertions, 10 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
index 1bbd4d0d..f0439e98 100644
--- a/pdf-as-lib/build.gradle
+++ b/pdf-as-lib/build.gradle
@@ -106,9 +106,15 @@ task releaseConfig(type: Copy) {
task releases(type: Copy) {
from jar.outputs
+ from distZip.outputs
+ from distTar.outputs
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn distZip
+releases.dependsOn distTar
+
releases.dependsOn releaseConfig
task apidocs(type: Javadoc) {
@@ -153,13 +159,3 @@ test {
systemProperties 'property': 'value'
}
-distributions {
- main {
- contents {
- from { '../docs' }
- from('../doc/') {
- include '*.pdf'
- }
- }
- }
-}