NOTE: You can open this sample inside an IDE using the https://www.jetbrains.com/help/idea/gradle.html#gradle_import_project_start[IntelliJ native importer] or https://projects.eclipse.org/projects/tools.buildship[Eclipse Buildship].

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

====
include::sample[dir="groovy",files="greeting-plugin/build.gradle[tags=plugin]"]
include::sample[dir="kotlin",files="greeting-plugin/build.gradle.kts[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`].
