@NonNullApi public class JavaGradlePluginPlugin extends Object implements Plugin<Project>
Provides a direct integration with TestKit by declaring the
gradleTestKit()
dependency for the test compile configuration and a dependency on the plugin classpath manifest generation task for the test runtime configuration. Default conventions can
be customized with the help of GradlePluginDevelopmentExtension
.
Integrates with the 'maven-publish' and 'ivy-publish' plugins to automatically publish the plugins so they can be resolved using the `pluginRepositories` and `plugins` DSL.
Constructor | Description |
---|---|
JavaGradlePluginPlugin() |
Modifier and Type | Method | Description |
---|---|---|
void |
apply(Project project) |
Apply this plugin to the given target object.
|