Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -338,18 +338,13 @@ allprojects {
tasks.register('resolveAllDependencies', ResolveAllDependencies) {
def ignoredPrefixes = [DistributionDownloadPlugin.ES_DISTRO_CONFIG_PREFIX, "jdbcDriver"]
configs = project.configurations.matching { config -> ignoredPrefixes.any { config.name.startsWith(it) } == false }

if (project.path == ':') {
resolveJavaToolChain = true

// ensure we have best possible caching of bwc builds
dependsOn ":distribution:bwc:major1:buildBwcLinuxTar"
dependsOn ":distribution:bwc:major2:buildBwcLinuxTar"
dependsOn ":distribution:bwc:major3:buildBwcLinuxTar"
dependsOn ":distribution:bwc:major4:buildBwcLinuxTar"
dependsOn ":distribution:bwc:minor1:buildBwcLinuxTar"
dependsOn ":distribution:bwc:minor2:buildBwcLinuxTar"
dependsOn ":distribution:bwc:minor3:buildBwcLinuxTar"
dependsOn ":distribution:bwc:minor4:buildBwcLinuxTar"
}
// ensure we have best possible caching of bwc builds
if(project.path.startsWith(":distribution:bwc:")) {
dependsOn project.tasks.matching { it.name == 'buildBwcLinuxTar' }
}
if (project.path.contains("fixture")) {
dependsOn tasks.withType(ComposePull)
Expand Down