Publish Gradle plugin in maven central Repo

plugins

(EgNote) #1

Hi,
I am trying to publish my gradle plugin to maven central repo. but i am getting following error while running “gradle publish” command on terminal.

"xecution failed for task ‘:publishMavenJavaPublicationToMavenRepository’.
> Failed to publish publication ‘mavenJava’ to repository 'maven’
** > Failed to deploy artifacts: Could not transfer artifact "**

Please give me proper guidance for publishing my gradle plugin.

Thanks