aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-cli')
-rw-r--r--pdf-as-cli/build.gradle37
1 files changed, 2 insertions, 35 deletions
diff --git a/pdf-as-cli/build.gradle b/pdf-as-cli/build.gradle
index 136c9cbc..3c675851 100644
--- a/pdf-as-cli/build.gradle
+++ b/pdf-as-cli/build.gradle
@@ -16,8 +16,7 @@ task releases(type: Copy) {
}
configurations {
- pdfBox2Compile
- pdfBox1Compile
+ pdfBox2Compile
}
sourceSets{
@@ -25,10 +24,6 @@ sourceSets{
compileClasspath = configurations.pdfBox2Compile
runtimeClasspath = configurations.pdfBox2Compile + main.runtimeClasspath
}
- pdfBox1{
- compileClasspath = configurations.pdfBox1Compile
- runtimeClasspath = configurations.pdfBox1Compile + main.runtimeClasspath
- }
}
dependencies {
@@ -36,8 +31,6 @@ dependencies {
implementation project (':signature-standards:sigs-pkcs7detached')
implementation project (':signature-standards:sigs-pades')
implementation project (':pdf-as-moa')
- //pdfBox1Implementation project (':pdf-as-pdfbox')
- //pdfBox2Implementation project (':pdf-as-pdfbox-2')
implementation project (':pdf-as-pdfbox-2')
implementation group: 'commons-collections', name: 'commons-collections', version: '3.2.2'
implementation group: 'commons-cli', name: 'commons-cli', version: '1.2'
@@ -53,32 +46,15 @@ startScripts{
compileJava{
classpath=sourceSets.main.compileClasspath
- classpath+=sourceSets.pdfBox1.compileClasspath
classpath+=sourceSets.pdfBox2.compileClasspath
}
-
-task pdfbox1Startscript(type: CreateStartScripts) {
- description "Creates OS specific scripts to call the 'other' entry point"
-
- classpath = startScripts.classpath.minus(configurations.pdfBox2Compile) + sourceSets.pdfBox1.compileClasspath
- outputDir = startScripts.outputDir
- mainClassName = startScripts.mainClassName
- applicationName = startScripts.applicationName+"-pdfbox1"
-}
-
distZip {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
into("${archiveBaseName}-${archiveVersion}/lib") {
from startScripts.classpath
}
- into("${archiveBaseName}-${archiveVersion}/lib") {
- from pdfbox1Startscript.classpath
- }
- into("${archiveBaseName}-${archiveVersion}/bin") {
- from pdfbox1Startscript
- }
}
distTar {
@@ -87,14 +63,8 @@ distTar {
into("${archiveBaseName}-${archiveVersion}/lib") {
from startScripts.classpath
}
- into("${archiveBaseName}-${archiveVersion}/lib") {
- from pdfbox1Startscript.classpath
- }
- into("${archiveBaseName}-${archiveVersion}/bin") {
- from pdfbox1Startscript
- }
-}
+}
releases.dependsOn jar
releases.dependsOn sourcesJar
@@ -102,11 +72,8 @@ releases.dependsOn distZip
releases.dependsOn distTar
distZip.dependsOn startScripts
-startScripts.dependsOn pdfbox1Startscript
-
test {
systemProperties 'property': 'value'
}
-