Skip to content

Commit ca5b94b

Browse files
authored
fix: add missing external system artifacts to deploy (#803)
1 parent e4e34a5 commit ca5b94b

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

buildSrc/src/main/kotlin/flamingock.project-structure.gradle.kts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,20 @@ val pluginProjects = setOf(
3535

3636
val targetSystemProjects = setOf(
3737
"nontransactional-target-system",
38-
"mongodb-external-system-api",
3938
"mongodb-sync-target-system",
4039
"mongodb-springdata-target-system",
4140
"sql-target-system",
4241
"dynamodb-target-system",
4342
"couchbase-target-system"
4443
)
4544

45+
val externalSystemProjects = setOf(
46+
"mongodb-external-system-api",
47+
"couchbase-external-system-api",
48+
"dynamodb-external-system-api",
49+
"sql-external-system-api"
50+
)
51+
4652
val templateProjects = setOf(
4753
"flamingock-sql-template"
4854
)
@@ -63,7 +69,7 @@ val legacyProjects = setOf(
6369
"mongock-importer-couchbase"
6470
)
6571

66-
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + targetSystemProjects + templateProjects + utilProjects + legacyProjects
72+
val allProjects = coreProjects + cloudProjects + communityProjects + pluginProjects + targetSystemProjects + externalSystemProjects + templateProjects + utilProjects + legacyProjects
6773

6874
// Project classification utilities
6975
fun Project.isBomModule(): Boolean = name.endsWith("-bom")
@@ -76,6 +82,7 @@ fun Project.getProjectCategory(): String? = when (name) {
7682
in communityProjects -> "community"
7783
in pluginProjects -> "plugins"
7884
in targetSystemProjects -> "targetSystems"
85+
in externalSystemProjects -> "externalSystems"
7986
in templateProjects -> "templates"
8087
in utilProjects -> "utils"
8188
in legacyProjects -> "legacy"
@@ -89,6 +96,7 @@ fun getProjectsForBundle(bundle: String?): Set<String> = when (bundle) {
8996
"community" -> communityProjects
9097
"plugins" -> pluginProjects
9198
"targetSystems" -> targetSystemProjects
99+
"externalSystems" -> externalSystemProjects
92100
"templates" -> templateProjects
93101
"utils" -> utilProjects
94102
"legacy" -> legacyProjects
@@ -102,6 +110,7 @@ extra["cloudProjects"] = cloudProjects
102110
extra["communityProjects"] = communityProjects
103111
extra["pluginProjects"] = pluginProjects
104112
extra["targetSystemProjects"] = targetSystemProjects
113+
extra["externalSystemProjects"] = externalSystemProjects
105114
extra["templateProjects"] = templateProjects
106115
extra["utilProjects"] = utilProjects
107116
extra["legacyProjects"] = legacyProjects

buildSrc/src/main/kotlin/flamingock.release-management.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ val projectsToRelease = if (module != null) {
3131
val communityProjects = project.extra["communityProjects"] as Set<String>
3232
val pluginProjects = project.extra["pluginProjects"] as Set<String>
3333
val targetSystemProjects = project.extra["targetSystemProjects"] as Set<String>
34+
val externalSystemProjects = project.extra["externalSystemProjects"] as Set<String>
3435
val templateProjects = project.extra["templateProjects"] as Set<String>
3536
val utilProjects = project.extra["utilProjects"] as Set<String>
3637
val legacyProjects = project.extra["legacyProjects"] as Set<String>
@@ -41,6 +42,7 @@ val projectsToRelease = if (module != null) {
4142
"community" -> communityProjects
4243
"plugins" -> pluginProjects
4344
"targetSystems" -> targetSystemProjects
45+
"externalSystems" -> externalSystemProjects
4446
"templates" -> templateProjects
4547
"utils" -> utilProjects
4648
"legacy" -> legacyProjects

0 commit comments

Comments
 (0)