|
@@ -298,7 +298,16 @@ 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 }
|
|
|
- resolveJavaToolChain = true
|
|
|
+ if(project.path == ':') {
|
|
|
+ resolveJavaToolChain = true
|
|
|
+
|
|
|
+ // ensure we have best possible caching of bwc builds
|
|
|
+ dependsOn ":distribution:bwc:bugfix:buildBwcLinuxTar"
|
|
|
+ dependsOn ":distribution:bwc:bugfix2:buildBwcLinuxTar"
|
|
|
+ dependsOn ":distribution:bwc:minor:buildBwcLinuxTar"
|
|
|
+ dependsOn ":distribution:bwc:staged:buildBwcLinuxTar"
|
|
|
+ dependsOn ":distribution:bwc:staged2:buildBwcLinuxTar"
|
|
|
+ }
|
|
|
if (project.path.contains("fixture")) {
|
|
|
dependsOn tasks.withType(ComposePull)
|
|
|
}
|
|
@@ -309,6 +318,7 @@ allprojects {
|
|
|
// ensure we resolve p2 dependencies for the spotless eclipse formatter
|
|
|
dependsOn "spotlessJavaCheck"
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
ext.withReleaseBuild = { Closure config ->
|