The following changes would do:
- Use the recent
com.gradle.plugin-publish version in build.gradle. For instance, 1.2.1
- 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.