From cac6632dbdb1cb46f61319f840fceea038256e8a Mon Sep 17 00:00:00 2001 From: Nate Anderson Date: Fri, 12 Jan 2024 13:25:07 -0800 Subject: [PATCH] fix: force signing to occur before publishing --- build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 07da499..85a0a20 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -163,3 +163,9 @@ if (signingKey != null) { sign(publishing.publications) } } + +afterEvaluate { + tasks.named("publishAndroidReleasePublicationToSonatypeRepository").configure { + mustRunAfter(":signJvmPublication") + } +}