vanniktech / gradle-maven-publish-plugin

A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc, to Maven Central or any other Nexus instance.
https://vanniktech.github.io/gradle-maven-publish-plugin
Apache License 2.0
1.29k stars 118 forks source link

Failed to stop service 'sonatype-repository-build-service'. #836

Closed N7ghtm4r3 closed 1 month ago

N7ghtm4r3 commented 1 month ago

Hi executing the following task: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache this error occurs

FAILURE: Build failed with an exception.

* What went wrong:
Failed to stop service 'sonatype-repository-build-service'.
> Cannot query the value of this property because it has no value available.

I'm trying to publish an KMP library

N7ghtm4r3 commented 1 month ago

The problem was with GPG private key creation, following this link for the newers version of GPG tool solved the issue. Then the location has been moved from .gradle/gradle.properties to project root gradle.properties