Compare commits

...

1 Commits

Author SHA1 Message Date
c954e2cf42 small fix 2025-05-25 13:09:18 +06:00

View File

@@ -41,7 +41,7 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n
.build() .build()
def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString()) def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString())
if (uploadResponse.statusCode() != 200) { 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")
} }
} }
} }