File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -333,18 +333,13 @@ allprojects {
333333 tasks. register(' resolveAllDependencies' , ResolveAllDependencies ) {
334334 def ignoredPrefixes = [DistributionDownloadPlugin . ES_DISTRO_CONFIG_PREFIX , " jdbcDriver" ]
335335 configs = project. configurations. matching { config -> ignoredPrefixes. any { config. name. startsWith(it) } == false }
336+
336337 if (project. path == ' :' ) {
337338 resolveJavaToolChain = true
338-
339- // ensure we have best possible caching of bwc builds
340- dependsOn " :distribution:bwc:major1:buildBwcLinuxTar"
341- dependsOn " :distribution:bwc:major2:buildBwcLinuxTar"
342- dependsOn " :distribution:bwc:major3:buildBwcLinuxTar"
343- dependsOn " :distribution:bwc:major4:buildBwcLinuxTar"
344- dependsOn " :distribution:bwc:minor1:buildBwcLinuxTar"
345- dependsOn " :distribution:bwc:minor2:buildBwcLinuxTar"
346- dependsOn " :distribution:bwc:minor3:buildBwcLinuxTar"
347- dependsOn " :distribution:bwc:minor4:buildBwcLinuxTar"
339+ }
340+ // ensure we have best possible caching of bwc builds
341+ if (project. path. startsWith(" :distribution:bwc:" )) {
342+ dependsOn project. tasks. matching { it. name == ' buildBwcLinuxTar' }
348343 }
349344 if (project. path. contains(" fixture" )) {
350345 dependsOn tasks. withType(ComposePull )
You can’t perform that action at this time.
0 commit comments