Open rieske opened 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.
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.
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.
At the moment, in order to write a Gradle plugin, one of the following plugins needs to be applied:
java-gradle-plugin
in order to write a Gradle plugin in Javagroovy-gradle-plugin
- in order to write a Gradle plugin in Groovy DSL (precompiled script plugin)kotlin-dsl
- in order to write a Gradle plugin in Kotlin DSL (precompiled script plugin)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:
groovy-dsl-gradle-plugin
would applygroovy-gradle-plugin
internallykotlin-dsl-gradle-plugin
would applykotlin-dsl
plugin internallyAt 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 deprecatekotlin-dsl
plugin as it is used not only for writing precompiled script plugins in Kotlin DSL - some investigation is needed here.