diff --git a/build.gradle b/build.gradle index 8d2c00f..437f39a 100644 --- a/build.gradle +++ b/build.gradle @@ -89,3 +89,11 @@ apply from: "defaultAndroidSettings.gradle" apply from: "github_release.gradle" apply from: "publish.gradle" apply from: "dokka.gradle" + +def publishTasks = tasks.findAll { it.name.containsIgnoreCase("publish") } +def signTasks = tasks.findAll { it.name.containsIgnoreCase("sign") } +publishTasks.forEach { task -> + signTasks.forEach { + task.dependsOn(it) + } +}