Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please publish PGP signature for the plugin at Gradle Plugin Portal #239

Open
vlsi opened this issue Nov 24, 2023 · 6 comments
Open

Please publish PGP signature for the plugin at Gradle Plugin Portal #239

vlsi opened this issue Nov 24, 2023 · 6 comments

Comments

@vlsi
Copy link
Contributor

vlsi commented Nov 24, 2023

The following changes would do:

  1. Use the recent com.gradle.plugin-publish version in build.gradle. For instance, 1.2.1
  2. Add signing plugin

See https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html#sign_artifacts

Context

I'm upgrading forbidden-apis in JMeter, and I would like to configure PGP for the trusted signature so I don't need to update PGP on every update.

@uschindler
Copy link
Member

Will check. The last time I tried it wasn't able to sign the artifacts or take over the dog atures from maven central. Basically the code just copies the artifacts from maven to Gradle plugins.

@uschindler
Copy link
Member

Not sure if I can add signatures for the already existing artifacts.

@vlsi
Copy link
Contributor Author

vlsi commented Nov 24, 2023

If you publish to central, then you could publish with signatures. I tend to publish plugins to both Central and Gradle Plugin Portal for redundancy.

However, it might be enough to add the signatures on the next update.

@uschindler
Copy link
Member

uschindler commented Nov 24, 2023

@vlsi
Copy link
Contributor Author

vlsi commented Nov 24, 2023

Could you publish de.thetaphi.forbiddenapis:de.thetaphi.forbiddenapis.gradle.plugin:3.6 artifact to Central as well?

@vlsi
Copy link
Contributor Author

vlsi commented Nov 24, 2023

Just to clarify: signatures can be published to both Central and GPP. I am not sure if there's an option to add signatures to already existing artifacts at GPP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants