From 070467c648320f6dc4404f391b6f9cb09ed00377 Mon Sep 17 00:00:00 2001 From: Andre Weber Date: Mon, 27 Nov 2023 15:41:30 +0100 Subject: [PATCH] chore: Change Order of Statements --- buildSrc/src/main/kotlin/publish.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/publish.gradle.kts b/buildSrc/src/main/kotlin/publish.gradle.kts index 29ffa564..05f49cad 100644 --- a/buildSrc/src/main/kotlin/publish.gradle.kts +++ b/buildSrc/src/main/kotlin/publish.gradle.kts @@ -59,11 +59,12 @@ afterEvaluate { } signing { + useGpgCmd() + val signingKey = System.getenv("ORG_GPG_PRIVATE_KEY") val signingPassword = System.getenv("ORG_GPG_PASSPHRASE") useInMemoryPgpKeys(signingKey, signingPassword) - useGpgCmd() sign(publishing.publications) } }