NOTE: You can open this sample in an link:{userManualPath}/gradle_ides.html#gradle_ides[IDE that supports Gradle].

This sample shows how to build a Gradle plugin in the Java language.

====
include::sample[dir="kotlin",files="greeting-plugin/build.gradle.kts[tags=plugin]"]
include::sample[dir="groovy",files="greeting-plugin/build.gradle[tags=plugin]"]
====

For a more guided tour with plugin development, see link:https://gradle.org/guides/?q=Plugin%20Development[the guides for plugin development].

You can also generate this project locally using link:{userManualPath}/build_init_plugin.html#sec:java_gradle_plugin[`gradle init`].
