mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-02 19:30:23 +01: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:
+1
-1
@@ -37,5 +37,5 @@ application {
|
||||
}
|
||||
|
||||
bootBuildImage {
|
||||
archiveFile = new File("${buildDir}/distributions/${project.name}-boot.zip")
|
||||
archiveFile = bootDistZip.archiveFile
|
||||
}
|
||||
+1
-1
@@ -37,5 +37,5 @@ application {
|
||||
}
|
||||
|
||||
bootBuildImage {
|
||||
archiveFile = new File("${buildDir}/distributions/${project.name}.zip")
|
||||
archiveFile = distZip.archiveFile
|
||||
}
|
||||
Reference in New Issue
Block a user