From 99835b0d650c0fe0f287b0686e6d04255c915464 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Wed, 13 Dec 2023 17:38:21 +0100 Subject: [PATCH] Fix bad env name in signing plugin --- .../src/main/kotlin/library-publishing-conventions.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/library-publishing-conventions.gradle.kts b/buildSrc/src/main/kotlin/library-publishing-conventions.gradle.kts index d39110c9..e5701047 100644 --- a/buildSrc/src/main/kotlin/library-publishing-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/library-publishing-conventions.gradle.kts @@ -46,7 +46,7 @@ project.afterEvaluate { signing { setRequired { !project.hasProperty("skipSigning") } - val key = System.getenv("MAVEN_CENTRAL_GPG_KEY") ?: return@signing + val key = System.getenv("MAVEN_CENTRAL_GPG_PRIVATE_KEY") ?: return@signing val password = System.getenv("MAVEN_CENTRAL_GPG_PASSPHRASE") ?: return@signing val publishing: PublishingExtension by project