Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 7, 2018
1 parent e45eb30 commit 505ec56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion junit-bom/junit-bom.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ the<PublishingExtension>().publications.named<MavenPublication>("maven") {
tasks.withType<GenerateMavenPom> {
doLast {
val xml = destination.readText()
require (xml.indexOf("<dependencies>") == xml.lastIndexOf("<dependencies>")) {
require(xml.indexOf("<dependencies>") == xml.lastIndexOf("<dependencies>")) {
"BOM must contain exactly one <dependencies> element but contained multiple:\n$destination"
}
require(xml.contains("<dependencyManagement>")) {
Expand Down

0 comments on commit 505ec56

Please sign in to comment.