Skip to content

Commit

Permalink
Skip building of BWC distributions when building release artifacts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Oct 15, 2021
1 parent cc4a7a9 commit d380148
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,11 @@ tasks.register("buildReleaseArtifacts").configure {
group = 'build'
description = 'Builds all artifacts required for release manager'

dependsOn allprojects.findAll { it.path.startsWith(':distribution:docker') == false && it.path.startsWith(':ml-cpp') == false }
dependsOn allprojects.findAll {
it.path.startsWith(':distribution:docker') == false
&& it.path.startsWith(':ml-cpp') == false
&& it.path.startsWith(':distribution:bwc') == false
}
.collect { GradleUtils.findByName(it.tasks, 'assemble') }
.findAll { it != null }
}
Expand Down

0 comments on commit d380148

Please sign in to comment.