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.gradle9
1 files changed, 8 insertions, 1 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
index 7f3e1add..114faebc 100644
--- a/pdf-as-lib/build.gradle
+++ b/pdf-as-lib/build.gradle
@@ -60,12 +60,19 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.+'
}
+task releaseConfig(type: Copy) {
+ from 'src/main/resources/config/config.zip'
+ into rootDir.toString() + "/releases/" + version + "/cfg"
+ rename 'config.zip', 'defaultConfig.zip'
+}
+
task releases(type: Copy) {
from jar.outputs
into rootDir.toString() + "/releases/" + version
- rename '.*.war', 'pdf-as-web.war'
}
+releases.dependsOn releaseConfig
+
task apidocs(type: Javadoc) {
classpath = configurations.compile
source = sourceSets.main.allJava