Remove BOM workaround

Since Gradle 6.2, the scope information is not published anymore with
the BOM, so we don't need to manually remove it anymore
This commit is contained in:
Brian Clozel
2020-04-28 15:14:02 +02:00
parent b71a7ee26f
commit 784a6d46c0
-6
View File
@@ -18,12 +18,6 @@ publishing {
mavenJava(MavenPublication) {
artifactId = 'spring-framework-bom'
from components.javaPlatform
// remove scope information from published BOM
pom.withXml {
asNode().dependencyManagement.first().dependencies.first().each {
it.remove(it.scope.first())
}
}
}
}
}