spring-session SpringMavenPlugin 源码

  • 2022-08-16
  • 浏览 (517)

spring-session SpringMavenPlugin 代码

文件路径:/buildSrc/src/main/java/org/springframework/gradle/maven/SpringMavenPlugin.java

package org.springframework.gradle.maven;

import io.spring.gradle.convention.ArtifactoryPlugin;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.plugins.PluginManager;
import org.gradle.api.publish.maven.plugins.MavenPublishPlugin;

public class SpringMavenPlugin implements Plugin<Project> {
	@Override
	public void apply(Project project) {
		PluginManager pluginManager = project.getPluginManager();
		pluginManager.apply(MavenPublishPlugin.class);
		pluginManager.apply(SpringSigningPlugin.class);
		pluginManager.apply(MavenPublishingConventionsPlugin.class);
		pluginManager.apply(PublishAllJavaComponentsPlugin.class);
		pluginManager.apply(PublishLocalPlugin.class);
		pluginManager.apply(PublishArtifactsPlugin.class);
		pluginManager.apply(ArtifactoryPlugin.class);
	}
}

相关信息

spring-session 源码目录

相关文章

spring-session MavenPublishingConventionsPlugin 源码

spring-session PublishAllJavaComponentsPlugin 源码

spring-session PublishArtifactsPlugin 源码

spring-session PublishLocalPlugin 源码

spring-session SpringNexusPublishPlugin 源码

spring-session SpringSigningPlugin 源码

0  赞