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
This commit is contained in:
Scott Frederick 2022-09-26 14:18:17 -05:00
parent cfac7f55a4
commit 81598b51f9
2 changed files with 2 additions and 2 deletions

View File

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

View File

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