public class EmbulkPluginsPlugin
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
This Gradle plugin has two main purposes to satisfy two requirements as an Embulk plugin.
One of the requirements is to get Embulk plugin's pom.xml to include all dependencies
as the direct first-level dependencies without any transitive dependency. This is an important
restriction to keep dependencies consistent between plugin development and Embulk's runtime.
(Indeed, Embulk's PluginClassLoader is implemented for Maven-based plugins to load only
the direct first-level dependencies without any transitive dependency.)
The other requirement is to add some required attributes in MANIFEST.MF.
In addition, this Gradle plugin provides some support for publishing RubyGems-based plugins.
This Gradle plugin depends on Gradle's "java-plugin" and "maven-publish-plugin".
| Constructor and Description |
|---|
EmbulkPluginsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.gradle.api.Project project) |