Skip to content

Commit 854cc9b

Browse files
committed
Only sync JDK download when Docker tests that need it will run
Closes gh-50708
1 parent 38fd219 commit 854cc9b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests

spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ tasks.register("syncJdkDownloads", Sync) {
7272
into layout.buildDirectory.dir("downloads/jdk/bellsoft/")
7373
}
7474

75-
tasks.named("processDockerTestResources").configure {
76-
dependsOn syncJdkDownloads
77-
}
78-
7975
tasks.named("dockerTest").configure {
80-
dependsOn buildApp
76+
dependsOn buildApp, syncJdkDownloads
8177
}

0 commit comments

Comments
 (0)