Should we publish our Gradle Plugins to the Gradle Portal? #295
paullatzelsperger
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, EDC Gradle Plugin, most importantly the
edc-build
plugin, is being published to OSSRH Snapshots and MavenCentral.We could also publish the Gradle plugins to the Plugin Portal, which would improve discoverability and ease-of-use, especially for non-EDC projects, because then it can be applied by-ID, for example:
There is another advantage: we could avoid the workaround where the build plugin is basically applied "onto itself", which seems kind of ... iffy.
It should be noted that the Gradle Plugin Portal does not allow snapshot builds. We could still align the release versions with other EDC components, but every component would have to maintain the plugin version separately.
Another aspect is that the publish process to the Plugin Portal differs from MavenCentral, and there is an approval process involved:
To me, this would be grounds for decoupling the Gradle plugins release process from the rest of the EDC components.
Personally, I don't think that is a big issue though, because the plugin would get treated like just another dependency, and it doesn't change that often anyway. Dependabot can take care of updates.
Beta Was this translation helpful? Give feedback.
All reactions