diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-04-15 12:39:00 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-04-15 12:39:00 +0200 |
commit | 5d32950cd5ce133843c591690143b67e5d6eb64f (patch) | |
tree | 0eebb116a789a169b78acb0d5c8edc76a182ed31 /pdf-as-cli | |
parent | a141f891c3b146719cb85c3f201166e77343cf89 (diff) | |
download | pdf-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.gradle | 55 |
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 } } |