I am using Gradle Plugin Development Plugin. I can push Maven packages to GitHub Packages and also locally publish my Gradle plugin which is why I was wondering if it is possible to publish my plugin to GitHub Packages instead of Gradle Plugin Portal. Gradle Plugin Development Plugin expects publishing keys, tags and more when I do not need all that to publish my plugins to GitHub Packages.
The Plugin Publilshing Plugin has things like tags and publishing keys.
It is only for publishing to the plugin portal.
If you don’t want to publish to the plugin portal, you do not need the plugin at all.
The Gradle Plugin Development Plugin you mentioned together with the maven-publish
plugin are enough if you only want to publish to a regular Maven repository. (Both of these are applied automatically by the “Plugin Publish Plugin”.
1 Like
Ah, ok, they changed it so that the tags are in the model of the plugin development plugin.
But you can just not set them then.