Skip to content

Conversation

@mnonnenmacher
Copy link
Contributor

See the commit messages for details.

Automate adding the "-service" suffix to service projects to reduce
the manual maintenance effort.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Automate adding the parent project name as a prefix to SPI projects to
reduce the manual maintenace effort.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Before, only the `config-worker` project had the "-worker" suffix, add
it to all workers for consistency.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Add the component name as a prefix to the names of all subprojects. This
ensures that all subprojects and their generated JAR files have unique
names.

Fixes #4087.

Signed-off-by: Martin Nonnenmacher <[email protected]>
@github-actions
Copy link

Issues referenced in commit messages and issues linked to this PR are not in sync.
Please manually link this PR to the following issues: 4087

@mnonnenmacher mnonnenmacher linked an issue Dec 10, 2025 that may be closed by this pull request
// Append "-service" to all service project names.
rootProject.children.single { it.name == "services" }.children.forEach { it.name = "${it.name}-service" }

// Append "-worker" to all worker project names.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a breaking changes as it also changes the names of some published artifacts, I guess?

commonMain {
dependencies {
api(projects.components.infrastructureServices.apiModel)
api(projects.components.infrastructureServices.infrastructureServicesApiModel)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, isn't this a breaking change for consumers of the published artifacts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use unique names for artifact jars

3 participants