dev.gradleplugins.internal.plugins.GradlePluginDevelopmentBasePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin-development Show documentation
Show all versions of gradle-plugin-development Show documentation
Gradle plugin development plugins.
package dev.gradleplugins.internal.plugins;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import javax.inject.Inject;
abstract /*final*/ class GradlePluginDevelopmentBasePlugin implements Plugin {
@Inject
public GradlePluginDevelopmentBasePlugin() {}
@Override
public void apply(Project project) {
project.getPluginManager().apply(GradlePluginDevelopmentExtensionPlugin.class);
project.getPluginManager().withPlugin("java-gradle-plugin", new RegisterCompatibilityExtension(project));
project.getPluginManager().withPlugin("java-gradle-plugin", new RemoveGradleApiProjectDependency(project));
project.getPluginManager().withPlugin("java-gradle-plugin", new AddGradleApiDependencyToCompileOnlyApiConfiguration(project));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy