From 93fe1c2ea4b764b02fd8a2fee6c0cacf0d67ba0b Mon Sep 17 00:00:00 2001 From: HopeBaron Date: Thu, 7 Oct 2021 16:58:21 +0300 Subject: [PATCH] Fix decoding of useInMemoryPgpKeys --- buildSrc/src/main/kotlin/kord-publishing.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/kord-publishing.gradle.kts b/buildSrc/src/main/kotlin/kord-publishing.gradle.kts index e49f6e07e345..72b7334adb3d 100644 --- a/buildSrc/src/main/kotlin/kord-publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/kord-publishing.gradle.kts @@ -69,7 +69,7 @@ tasks { val signingKey = findProperty("signingKey")?.toString() val signingPassword = findProperty("signingPassword")?.toString() if (signingKey != null && signingPassword != null) { - useInMemoryPgpKeys(Base64.getDecoder().decode(signingKey).toString(), signingPassword) + useInMemoryPgpKeys(String(Base64.getDecoder().decode(signingKey)), signingPassword) } sign(publishing.publications[Library.name]) }