dependency logic.txt @Overridevoid apply(Project project) { if(project.name.matches("[a-z]*-service")){ println("Skipping dependency managament plugin for ${project.name}") return }else { println("Added dependency managament plugin for ${pr
@Override void apply(Project project) { if(project.name.matches("[a-z]*-service")){ println("Skipping dependency managament plugin for ${project.name}") return }else { println("Added dependency managament plugin for ${project.name}") DependencyManagementPlugin dependencyManagementPlugin = new DependencyManagementPlugin() dependencyManagementPlugin.apply(project) } project.extensions.configure(DependencyManagementExtension, new ClosureBackedAction({ imports { mavenBom("org.springframework.cloud:spring-cloud-dependencies:Brixton.BUILD-SNAPSHOT") } })) }