Add cloud-bom (#282)
This commit is contained in:
parent
1b485b9f79
commit
83a17da9a7
6 changed files with 62 additions and 32 deletions
25
cloud-bom/build.gradle.kts
Normal file
25
cloud-bom/build.gradle.kts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
plugins {
|
||||
`java-platform`
|
||||
}
|
||||
|
||||
indra {
|
||||
configurePublications {
|
||||
from(components["javaPlatform"])
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
constraints {
|
||||
for (subproject in rootProject.subprojects) {
|
||||
if (subproject == project) { // the bom itself
|
||||
continue
|
||||
}
|
||||
|
||||
if (subproject.name.startsWith("example-")) {
|
||||
continue
|
||||
}
|
||||
|
||||
api(project(subproject.path))
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue