Only sync JDK download when Docker tests that need it will run

Closes gh-50708
This commit is contained in:
Andy Wilkinson
2026-06-09 06:55:37 +01:00
parent 38fd219d5f
commit 854cc9b018
@@ -72,10 +72,6 @@ tasks.register("syncJdkDownloads", Sync) {
into layout.buildDirectory.dir("downloads/jdk/bellsoft/")
}
tasks.named("processDockerTestResources").configure {
dependsOn syncJdkDownloads
}
tasks.named("dockerTest").configure {
dependsOn buildApp
dependsOn buildApp, syncJdkDownloads
}