use of org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry in project gradle by gradle.
the class JavaGradlePluginPlugin method registerPlugins.
private void registerPlugins(Project project, GradlePluginDevelopmentExtension extension) {
ProjectInternal projectInternal = (ProjectInternal) project;
ProjectPublicationRegistry registry = projectInternal.getServices().get(ProjectPublicationRegistry.class);
extension.getPlugins().all(pluginDeclaration -> registry.registerPublication(projectInternal, new LocalPluginPublication(pluginDeclaration)));
}
Aggregations