I have two KMP libraries in one project, and I want to have one jar/lib with all source code from both libs/modules.
I added second one to first one:
sourceSets {
commonMain.dependencies {
api(project(":second_kpm_lib"))
}
commonTest.dependencies {
implementation(libs.kotlin.test)
}
}
And when I’m building .jar
for this first lib, source code from secon is not included in it.
What I should do to make it work?