Gradle uploadArchives task unable to read secret key

后端 未结 3 1650
悲&欢浪女
悲&欢浪女 2021-02-04 04:54

I have created a gradle project and everything builds fine, but when I try to upload to my Maven repository, I get the following Gradle error:

FAILURE: Build fai         


        
3条回答
  •  自闭症患者
    2021-02-04 05:37

    The problem is that you are using the public key, switch to the secret key, normally named "secring.gpg". So in your case it should placed in

    C:\Users\ideal\secring.gpg

提交回复
热议问题