Gautam Shorewala
09/17/2025, 5:46 AMshared and payment.
I want to publish only the shared module as a Maven artifact and have the payments module included inside it so that when my consumer adds the shared dependency, payments is available too.
Currently, shared depends on payments via implementation(project(":shared:payments")) in commonMain. When I publish just shared and use it in my consumer app, I get errors like:
Could not find ProjectName.shared:payments:unspecified.
is there a way to package payments inside shared, so only one artifact needs to be published?hfhbd
09/17/2025, 6:27 AMGautam Shorewala
09/17/2025, 7:54 AMpayments inside shared is because payments is an internal module. I don’t want to publish it separately as a standalone artifact.