Skip to content

Commit 7f2c117

Browse files
authored
Add cloud-processors-bom (#22)
1 parent 8cd6e57 commit 7f2c117

2 files changed

Lines changed: 32 additions & 4 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
plugins {
2+
`java-platform`
3+
id("cloud-processors.publishing-conventions")
4+
}
5+
6+
indra {
7+
configurePublications {
8+
from(components["javaPlatform"])
9+
}
10+
}
11+
12+
dependencies {
13+
constraints {
14+
for (subproject in rootProject.subprojects) {
15+
if (subproject == project) { // the bom itself
16+
continue
17+
}
18+
19+
if (subproject.name.startsWith("example-")) {
20+
continue
21+
}
22+
23+
api(project(subproject.path))
24+
}
25+
}
26+
}

settings.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ dependencyResolutionManagement {
2626

2727
rootProject.name = "cloud-processors-parent"
2828

29-
include(":cloud-processors-common")
30-
include(":cloud-processors-confirmation")
31-
include(":cloud-processors-cooldown")
32-
include(":cloud-processors-requirements")
29+
include("cloud-processors-bom")
30+
31+
include("cloud-processors-common")
32+
include("cloud-processors-confirmation")
33+
include("cloud-processors-cooldown")
34+
include("cloud-processors-requirements")

0 commit comments

Comments
 (0)