diff --git a/build.gradle b/build.gradle index 6f27286abab..50325ccca84 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ subprojects { bwcVersions.snapshotProjectNames.each { snapshotName -> Version snapshot = bwcVersions.getSnapshotForProject(snapshotName) - if (snapshot != null ) { + if (snapshot != null && snapshot.onOrAfter("6.3.0")) { String snapshotProject = ":x-pack-elasticsearch:plugin:bwc:${snapshotName}" project(snapshotProject).ext.bwcVersion = snapshot ext.projectSubstitutions["org.elasticsearch.plugin:x-pack:${snapshot}"] = snapshotProject diff --git a/qa/full-cluster-restart/build.gradle b/qa/full-cluster-restart/build.gradle index 084fdaed463..fd5e5821faa 100644 --- a/qa/full-cluster-restart/build.gradle +++ b/qa/full-cluster-restart/build.gradle @@ -274,5 +274,8 @@ subprojects { maven { url "https://artifacts.elastic.co/maven" } + maven { + url "https://snapshots.elastic.co/maven" + } } } diff --git a/qa/rolling-upgrade/build.gradle b/qa/rolling-upgrade/build.gradle index 95de967ad6e..80e389fe834 100644 --- a/qa/rolling-upgrade/build.gradle +++ b/qa/rolling-upgrade/build.gradle @@ -293,5 +293,8 @@ subprojects { maven { url "https://artifacts.elastic.co/maven" } + maven { + url "https://snapshots.elastic.co/maven" + } } }