Added build tasks to the dependencies rather than check
@@ -102,9 +102,9 @@ class MultiProjectReleasePlugin implements Plugin<Project> {
publishTask.dependsOn checkGitBranchTask
project.afterEvaluate { evaluatedProject ->
- def javaCheckTasks = evaluatedProject.getTasksByName('check', true)
+ def buildTasks = evaluatedProject.getTasksByName('build', true)
def bintrayUploadTasks = evaluatedProject.getTasksByName('bintrayUpload', true)
- publishTask.dependsOn javaCheckTasks
+ publishTask.dependsOn buildTasks
publishTask.dependsOn bintrayUploadTasks
}
bumpAndTagTask.dependsOn publishTask
