Skip to content

Commit

Permalink
Ensure CI compatibility now that we aren't building any BWC versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed May 10, 2019
1 parent ca55f92 commit ad1cad8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion distribution/bwc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ import static org.elasticsearch.gradle.BuildPlugin.getJavaHome
* unreleased versions are when Gradle projects are set up, so we use "build-unreleased-version-*" as placeholders
* and configure them to build various versions here.
*/
task buildBwc

bwcVersions.forPreviousUnreleased { VersionCollection.UnreleasedVersionInfo unreleasedVersion -> project("${project.path}:${unreleasedVersion.gradleProjectName}") {
Version bwcVersion = unreleasedVersion.version
String bwcBranch = unreleasedVersion.branch
Expand Down Expand Up @@ -192,7 +194,7 @@ bwcVersions.forPreviousUnreleased { VersionCollection.UnreleasedVersionInfo unre
}
}

createRunBwcGradleTask("buildBwcVersion") {
buildBwc.dependsOn createRunBwcGradleTask("buildBwcVersion") {
for (String dir : projectDirs) {
args ":${dir.replace('/', ':')}:assemble"
}
Expand Down

0 comments on commit ad1cad8

Please sign in to comment.