aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-12-14 10:52:31 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-12-14 10:52:31 +0100
commite04123651caeb1e3da33ddc526e3c0fc4be65a42 (patch)
treed50baa9bb3aea1db096962c988ee766f6d9be731 /pdf-as-cli
parentdf5afd4d18b0e5cc283813a30329868802204a85 (diff)
downloadpdf-as-4-e04123651caeb1e3da33ddc526e3c0fc4be65a42.tar.gz
pdf-as-4-e04123651caeb1e3da33ddc526e3c0fc4be65a42.tar.bz2
pdf-as-4-e04123651caeb1e3da33ddc526e3c0fc4be65a42.zip
made pdfbox1 version explicit, pdfbox2 is now default backend
Diffstat (limited to 'pdf-as-cli')
-rw-r--r--pdf-as-cli/build.gradle18
1 files changed, 9 insertions, 9 deletions
diff --git a/pdf-as-cli/build.gradle b/pdf-as-cli/build.gradle
index 8021a456..9fc614fd 100644
--- a/pdf-as-cli/build.gradle
+++ b/pdf-as-cli/build.gradle
@@ -47,7 +47,7 @@ dependencies {
startScripts{
- classpath+=sourceSets.pdfBox1.compileClasspath
+ classpath+=sourceSets.pdfBox2.compileClasspath
}
compileJava{
@@ -57,13 +57,13 @@ compileJava{
}
-task pdfbox2Startscript(type: CreateStartScripts) {
+task pdfbox1Startscript(type: CreateStartScripts) {
description "Creates OS specific scripts to call the 'other' entry point"
- classpath = startScripts.classpath.minus(configurations.pdfBox1Compile) + sourceSets.pdfBox2.compileClasspath
+ classpath = startScripts.classpath.minus(configurations.pdfBox2Compile) + sourceSets.pdfBox1.compileClasspath
outputDir = startScripts.outputDir
mainClassName = startScripts.mainClassName
- applicationName = startScripts.applicationName+"-pdfbox2"
+ applicationName = startScripts.applicationName+"-pdfbox1"
}
distZip {
@@ -76,10 +76,10 @@ distZip {
from startScripts.classpath
}
into("${baseName}-${version}/lib") {
- from pdfbox2Startscript.classpath
+ from pdfbox1Startscript.classpath
}
into("${baseName}-${version}/bin") {
- from pdfbox2Startscript
+ from pdfbox1Startscript
}
}
}
@@ -93,10 +93,10 @@ distTar {
from startScripts.classpath
}
into("${baseName}-${version}/lib") {
- from pdfbox2Startscript.classpath
+ from pdfbox1Startscript.classpath
}
into("${baseName}-${version}/bin") {
- from pdfbox2Startscript
+ from pdfbox1Startscript
}
}
}
@@ -108,7 +108,7 @@ releases.dependsOn distZip
releases.dependsOn distTar
distZip.dependsOn startScripts
-startScripts.dependsOn pdfbox2Startscript
+startScripts.dependsOn pdfbox1Startscript