Review, refactor and polish (local) Spring Build Conventions Gradle Plugins.
Remove the gradle/maven-pom-editor.gradle build script as this logic (concern) is handled by the MavenPlushingConventionsPlugin. Clean up associated Gradle project build scripts affected by the Gradle Plugin changes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import io.spring.gradle.convention.SpringMavenPlugin
|
||||
import io.spring.gradle.convention.SpringModulePlugin
|
||||
|
||||
apply plugin: 'io.spring.convention.bom'
|
||||
apply from: MAVEN_POM_EDITOR_GRADLE
|
||||
@@ -6,7 +6,7 @@ apply from: MAVEN_POM_EDITOR_GRADLE
|
||||
sonarqube.skipProject = true
|
||||
|
||||
project.rootProject.allprojects.each { p ->
|
||||
p.plugins.withType(SpringMavenPlugin) {
|
||||
p.plugins.withType(SpringModulePlugin) {
|
||||
if (!project.name.equals(p.name)) {
|
||||
project.mavenBom.projects.add(p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user