use of io.spring.gradle.dependencymanagement.dsl.ImportsHandler in project spring-boot by spring-projects.
the class DependencyManagementPluginFeatures method apply.
@Override
public void apply(Project project) {
project.getPlugins().apply(DependencyManagementPlugin.class);
DependencyManagementExtension dependencyManagement = project.getExtensions().findByType(DependencyManagementExtension.class);
dependencyManagement.imports(new Action<ImportsHandler>() {
@Override
public void execute(ImportsHandler importsHandler) {
importsHandler.mavenBom(SPRING_BOOT_BOM);
}
});
}
Aggregations