aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-tests
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-tests
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-tests')
-rw-r--r--pdf-as-tests/build.gradle16
1 files changed, 9 insertions, 7 deletions
diff --git a/pdf-as-tests/build.gradle b/pdf-as-tests/build.gradle
index beba0afd..8d5129ff 100644
--- a/pdf-as-tests/build.gradle
+++ b/pdf-as-tests/build.gradle
@@ -144,14 +144,16 @@ suiteDir.eachDir { File subDir ->
delete fileTree (dir: subDir.absolutePath, include: "**/test_result.html")
}
- task "cleanOutFolders${dirname.capitalize()}"() << {
- subDir.eachDir { File tcDir ->
- File outDir = new File(tcDir, "out");
- if(outDir.exists() && outDir.isDirectory()) {
- outDir.eachFileRecurse { File mfile ->
- mfile.delete()
+ task "cleanOutFolders${dirname.capitalize()}"() {
+ doLast {
+ subDir.eachDir { File tcDir ->
+ File outDir = new File(tcDir, "out");
+ if(outDir.exists() && outDir.isDirectory()) {
+ outDir.eachFileRecurse { File mfile ->
+ mfile.delete()
+ }
+ outDir.delete()
}
- outDir.delete()
}
}
}