From f64f0bc91b5b850c079f029f1ca7d6011499320c Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Mon, 22 Jun 2020 16:44:15 +0100 Subject: [PATCH] HHH-14083 add ciRelease dependency to bintray upload --- release/release.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release/release.gradle b/release/release.gradle index ce90be61a6..8d1faf50c0 100644 --- a/release/release.gradle +++ b/release/release.gradle @@ -299,6 +299,14 @@ task changeLogFile( dependsOn: [releaseChecks] ) { } } +rootProject.subprojects.each { Project subProject -> + if ( !this.name.equals( subProject.name ) ) { + if ( subProject.tasks.findByName( 'release' ) ) { + this.tasks.release.dependsOn( subProject.tasks.release ) + } + } +} + task addVersionCommit( dependsOn: [changeLogFile] ) { group = "Release" description = "Adds a commit for the released version and push the changes to github"