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]) }