Use task outputs in distZip Paketo system tests

Using the outputs from `distZip` and `bootDistZip` as input to the
`bootBuildImage` task instead of indirectly using the output file
path prevents Gradle warnings about implicit task dependencies.

Fixes gh-32506
pull/32747/head
Scott Frederick 2 years ago
parent cfac7f55a4
commit 81598b51f9

@ -37,5 +37,5 @@ application {
} }
bootBuildImage { bootBuildImage {
archiveFile = new File("${buildDir}/distributions/${project.name}-boot.zip") archiveFile = bootDistZip.archiveFile
} }

@ -37,5 +37,5 @@ application {
} }
bootBuildImage { bootBuildImage {
archiveFile = new File("${buildDir}/distributions/${project.name}.zip") archiveFile = distZip.archiveFile
} }
Loading…
Cancel
Save