Hello peeps, I got a request of <adding GPG-signat...
# plugin-development
g
Hello peeps, I got a request of adding GPG-signature to one of my plugins to support Dependencies Verification. After a bit of research/discussion (and after adding
singing
plugin to the project), we end up concluding the
Plugin Portal
is somehow ignoring
.asc
files, they are not there when requested by URL. Which is not the case for Maven Central's URL. Does anyone knows if this an intentional behavior of Plugins Portal, or a bug?
👀 1
The only workaround I foresee will be to also publish the plugin to Maven Central, and ask the consumer to target Maven Central before Plugins Portal when resolving plugins
m
You could also just publish to Maven Central.
It will probably not even break anyone's workflow because the plugin portal proxies Maven Central
g
That's try, I'll loose the entry (or get outdated) in Plugins Portal, but yes
I wanted to confirm if some else has already faced this, to see if I should report it to Gradle team
m
I'd love the plugin portal to be for metadata only: https://github.com/gradle/plugin-portal-requests/issues/225
For hosting, Maven Central has a bunch of benefits
👀 1
v
According to the comment at https://github.com/gradle/plugin-portal-requests/issues/211#issuecomment-1948041280 I'd say you might do something wrong, or something broke in the meantime. But there it worked to upload the signature files to plugin portal.
🤷‍♂️ 1
Also the docs of the plugin publish plugin tell that all you have to do since version 1.0.0 of the plugin is also applying the
signing
plugin and the plugin and marker artifacts will automatically be signed and signatures uploaded
g
I'd say you might do something wrong, or something broke in the meantime.
After publishing (with the same artifacts configuration) on Maven Central, it started to work 🤷‍♂️ I'd be nice to have an official word on this
v
For that you might need to open an issue in the portal requests tracker
👍 1