From b4c454141eaea91ad188c5d83a3fa5af7b327827 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 23 Oct 2023 02:05:05 +0600 Subject: [PATCH] add crutch for publishing of artifacts --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) 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) + } +}