mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
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:
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…
Reference in New Issue
Block a user