Comments (9)
Seeing this as well. (Using a config very similar to https://github.com/coil-kt/coil if that helps)
from gradle-maven-publish-plugin.
@vanniktech It would be good in my opinion to add to the README instructions about signing and potentially how to disable it, since it is required by mavenCentral, but some might be using this lib just to deploy to a private maven instances that doesn't require signing.
from gradle-maven-publish-plugin.
ok i finally managed to publish by adding the following to my gradle.properies file:
signing.keyId=A1B2C3D4
signing.password=somePassword
signing.secretKeyRingFile=/Users/christiandrager/.gnupg/secring.gpg
to get tthe signing key id run:
gpg --list-secret-keys --keyid-format SHORT
the 8 characters that are following after ssb rsa2048/
are your keys id
If you started out with GnuPG 2.1 instead of upgrading from earlier versions, creating a secring.gpg file manually appears to be the proper workaround:
gpg --export-secret-keys >~/.gnupg/secring.gpg
But anyway i don't think its needed to add the properties usually? at least i can not find some instructions to do that in the plugins documentation
from gradle-maven-publish-plugin.
Oh yes those 3 gradle properties are required. Want to submit a README update?
from gradle-maven-publish-plugin.
Which version of the plugin are you using? I haven't had any problems releasing with the current version.
from gradle-maven-publish-plugin.
Hey, I'm using version 0.8.0
from gradle-maven-publish-plugin.
@christian-draeger What command did you use to generate that .gpg
file? Right now, I am using gpg --gen-key
but my file does not end up named the same as yours, so I am wondering if there is some other configuration I need.
from gradle-maven-publish-plugin.
I ended up having to do this step too: gradle/gradle#888 (comment) to properly export to secring.gpg
and everything seems to be working now! Thanks!
from gradle-maven-publish-plugin.
I ended up having to do this step too: gradle/gradle#888 (comment) to properly export to
secring.gpg
and everything seems to be working now! Thanks!
Ah, yeah did that as well before to create securing.gpg file
Forgot to mention that
from gradle-maven-publish-plugin.
Related Issues (20)
- Support Sonatype Portal Publisher API HOT 4
- Publishing parts of a project with different versions leads to wrong repo being used
- Cannot publish artifacts in multimodule project HOT 2
- Is there a way to specify source code publish flag according to the targets? HOT 5
- In memory GPG key HOT 3
- Disable signing for specific tasks HOT 3
- [Question] How to publish custom artifact to Maven Central? HOT 2
- Upload failed: {"error":{"message":"Authentication Failed"}} HOT 11
- Java8 Support HOT 1
- Publishing to two repositories with different platform configurations HOT 2
- Any way to publish an Android library using Dokka generated docs? HOT 1
- Update plugin in gradle plugin site HOT 1
- publishing to Maven Central via the Portal Publisher API HOT 4
- Task ':lib:generateMetadataFileForMavenPublication' uses this output of task ':lib:plainJavadocJar' without declaring an explicit or implicit dependency. HOT 2
- Consider adding credentials example for in-memory key to documentation HOT 2
- Cannot perform signing task ':lib:signMavenPublication' because it has no configured signatory HOT 7
- Add an option to not publish test fixtures HOT 4
- How to publish multi-module project as a single artifact HOT 2
- How to use plugin on Github Actions? HOT 3
- [CENTRAL_PORTAL] java.lang.IllegalArgumentException: Cannot set the value of task ':plugin-collector:createStagingRepository' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-maven-publish-plugin.