You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
783 B
38 lines
783 B
description = "Spring Framework (Bill of Materials)" |
|
|
|
dependencyManagement { |
|
generatedPomCustomization { |
|
enabled = false |
|
} |
|
} |
|
|
|
configurations.archives.artifacts.clear() |
|
artifacts { |
|
// work around GRADLE-2406 by attaching text artifact |
|
archives(file("spring-framework-bom.txt")) |
|
} |
|
|
|
install { |
|
repositories.mavenInstaller { |
|
pom.whenConfigured { |
|
packaging = "pom" |
|
withXml { |
|
asNode().children().last() + { |
|
delegate.dependencyManagement { |
|
delegate.dependencies { |
|
parent.moduleProjects.sort { "$it.name" }.each { p -> |
|
if (p != project) { |
|
delegate.dependency { |
|
delegate.groupId(p.group) |
|
delegate.artifactId(p.name) |
|
delegate.version(p.version) |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
}
|
|
|