gradle / gradle

Adaptable, fast automation for all
https://gradle.org
Apache License 2.0
16.75k stars 4.69k forks source link

Provide consistent set of plugin IDs for Gradle Plugin project types #15219

Open rieske opened 3 years ago

rieske commented 3 years ago

At the moment, in order to write a Gradle plugin, one of the following plugins needs to be applied:

In order to make the plugin names more consistent, the suggestion is to use the {language-the-plugin-is-written-in}-gradle-plugin naming convention in the plugin names.

We also want the existing plugins to keep working for backwards compatibility - as such, introduce two new plugins that would only apply one of the existing plugins:

At the same time, we might want to deprecate the current plugins as we introduce their "aliases". With groovy-gradle-plugin, the deprecation should be straightforward as it is only meant for writing precompiled script plugins in Groovy DSL. We can not deprecate kotlin-dsl plugin as it is used not only for writing precompiled script plugins in Kotlin DSL - some investigation is needed here.

jjohannes commented 3 years ago

As part of this work, the external plugins kotlin-dsl-plugins should become part of the Gradle distribution and no longer be published independently to the portal.

While in general we want to move plugins out of the distribution, this is not the right place to start with it as this is in the very core of Gradle. It's not consistent at the moment.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

jbartok commented 1 year ago

Thank you for your interest in Gradle!

This feature request is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before it gets implemented.