aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/build.gradle
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-26 10:31:56 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-26 10:31:56 +0200
commit9f21e91f4b41f56871aa073df03dbb0a38da1c47 (patch)
tree1b36fa7706c78a1911a8c40c3870124decbfb066 /pdf-as-lib/build.gradle
parentd808ad7a35e90b34622dc7161ddcad4f8861b69f (diff)
downloadpdf-as-4-9f21e91f4b41f56871aa073df03dbb0a38da1c47.tar.gz
pdf-as-4-9f21e91f4b41f56871aa073df03dbb0a38da1c47.tar.bz2
pdf-as-4-9f21e91f4b41f56871aa073df03dbb0a38da1c47.zip
release directory added version string
Diffstat (limited to 'pdf-as-lib/build.gradle')
-rw-r--r--pdf-as-lib/build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
index b0309ea3..7f3e1add 100644
--- a/pdf-as-lib/build.gradle
+++ b/pdf-as-lib/build.gradle
@@ -62,14 +62,14 @@ dependencies {
task releases(type: Copy) {
from jar.outputs
- into rootDir.toString() + "/releases"
+ into rootDir.toString() + "/releases/" + version
rename '.*.war', 'pdf-as-web.war'
}
task apidocs(type: Javadoc) {
classpath = configurations.compile
source = sourceSets.main.allJava
- destinationDir = new File(rootDir.toString() + "/releases/docs/api")
+ destinationDir = new File(rootDir.toString() + "/releases/" + version + "/docs/api")
title = "PDF-AS " + project.pdfasversion + " Documentation"
options.memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PUBLIC
options.charSet = "ISO-8859-1"
@@ -86,7 +86,7 @@ task apidocs(type: Javadoc) {
task fulldocs(type: Javadoc) {
classpath = configurations.compile
source = sourceSets.main.allJava
- destinationDir = new File(rootDir.toString() + "/releases/docs/full")
+ destinationDir = new File(rootDir.toString() + "/releases/" + version + "/docs/full")
title = "PDF-AS " + project.pdfasversion + " Documentation"
options.memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PROTECTED
options.charSet = "ISO-8859-1"