Java 类org.springframework.boot.gradle.run.RunPluginFeatures 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringBootPlugin.java   
@Override
public void apply(Project project) {
    project.getExtensions().create("springBoot", SpringBootPluginExtension.class,
            project);
    project.getPlugins().apply(JavaPlugin.class);
    new AgentPluginFeatures().apply(project);
    new RepackagePluginFeatures().apply(project);
    new RunPluginFeatures().apply(project);
    new DependencyManagementPluginFeatures().apply(project);
    project.getTasks().withType(JavaCompile.class).all(new SetUtf8EncodingAction());
}
项目:spring-boot-concourse    文件:SpringBootPlugin.java   
@Override
public void apply(Project project) {
    project.getExtensions().create("springBoot", SpringBootPluginExtension.class,
            project);
    project.getPlugins().apply(JavaPlugin.class);
    new AgentPluginFeatures().apply(project);
    new RepackagePluginFeatures().apply(project);
    new RunPluginFeatures().apply(project);
    new DependencyManagementPluginFeatures().apply(project);
    project.getTasks().withType(JavaCompile.class).all(new SetUtf8EncodingAction());
}
项目:contestparser    文件:SpringBootPlugin.java   
@Override
public void apply(Project project) {
    project.getExtensions().create("springBoot", SpringBootPluginExtension.class);
    project.getPlugins().apply(JavaPlugin.class);
    new AgentPluginFeatures().apply(project);
    new RepackagePluginFeatures().apply(project);
    new RunPluginFeatures().apply(project);
    new DependencyManagementPluginFeatures().apply(project);
    project.getTasks().withType(JavaCompile.class).all(new SetUtf8EncodingAction());
}