aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-04-15 12:39:00 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-04-15 12:39:00 +0200
commit5d32950cd5ce133843c591690143b67e5d6eb64f (patch)
tree0eebb116a789a169b78acb0d5c8edc76a182ed31 /pdf-as-cli
parenta141f891c3b146719cb85c3f201166e77343cf89 (diff)
downloadpdf-as-4-5d32950cd5ce133843c591690143b67e5d6eb64f.tar.gz
pdf-as-4-5d32950cd5ce133843c591690143b67e5d6eb64f.tar.bz2
pdf-as-4-5d32950cd5ce133843c591690143b67e5d6eb64f.zip
update gradle to 5.6.4 and update some build steps to this new version
Diffstat (limited to 'pdf-as-cli')
-rw-r--r--pdf-as-cli/build.gradle55
1 files changed, 25 insertions, 30 deletions
diff --git a/pdf-as-cli/build.gradle b/pdf-as-cli/build.gradle
index fcde3b78..4f443d40 100644
--- a/pdf-as-cli/build.gradle
+++ b/pdf-as-cli/build.gradle
@@ -16,9 +16,9 @@ task releases(type: Copy) {
}
configurations {
- pdfBox2Compile
- pdfBox1Compile
- }
+ pdfBox2Compile
+ pdfBox1Compile
+}
sourceSets{
pdfBox2{
@@ -67,37 +67,32 @@ task pdfbox1Startscript(type: CreateStartScripts) {
}
distZip {
+ baseName = archivesBaseName
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
- doFirst{
- baseName = archivesBaseName
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
-
- into("${baseName}-${version}/lib") {
- from startScripts.classpath
- }
- into("${baseName}-${version}/lib") {
- from pdfbox1Startscript.classpath
- }
- into("${baseName}-${version}/bin") {
- from pdfbox1Startscript
- }
- }
+ into("${baseName}-${version}/lib") {
+ from startScripts.classpath
+ }
+ into("${baseName}-${version}/lib") {
+ from pdfbox1Startscript.classpath
+ }
+ into("${baseName}-${version}/bin") {
+ from pdfbox1Startscript
+ }
}
distTar {
- doFirst{
- baseName = archivesBaseName
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
-
- into("${baseName}-${version}/lib") {
- from startScripts.classpath
- }
- into("${baseName}-${version}/lib") {
- from pdfbox1Startscript.classpath
- }
- into("${baseName}-${version}/bin") {
- from pdfbox1Startscript
- }
+ baseName = archivesBaseName
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+
+ into("${baseName}-${version}/lib") {
+ from startScripts.classpath
+ }
+ into("${baseName}-${version}/lib") {
+ from pdfbox1Startscript.classpath
+ }
+ into("${baseName}-${version}/bin") {
+ from pdfbox1Startscript
}
}