From c954e2cf42bc89f952de34046b036677778283d4 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 25 May 2025 13:09:18 +0600 Subject: [PATCH] small fix --- .../core/export/CentralSonatypeUploadingPart.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/export/CentralSonatypeUploadingPart.kt b/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/export/CentralSonatypeUploadingPart.kt index c8690d5..fc87c10 100644 --- a/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/export/CentralSonatypeUploadingPart.kt +++ b/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/export/CentralSonatypeUploadingPart.kt @@ -41,7 +41,7 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n .build() def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString()) if (uploadResponse.statusCode() != 200) { - throw IllegalStateException("Faced error of uploading for repo with key ${"$"}it. Response: ${"$"}uploadResponse") + throw new IllegalStateException("Faced error of uploading for repo with key ${"$"}it. Response: ${"$"}uploadResponse") } } }