Nicolas Bourdin
06/30/2020, 9:22 AM- rootProject
- app
- iOS
- common
- src
- androidMain
- commonMain
- ...
- build.gradle
- otherKnLib
- src
- androidMain
- commonMain
- ...
- build.gradle
settings.gradle
build.gradle
I tried to import my lib in the differents sourceSets dependencies in the common module, but I suppose I also have to specify the "target" (common, android, ios) for each sourceSet
sourceSets {
val commonMain by getting {
implementation(project(":otherKnLib")
}
val androidMain by getting {
implementation(project(":otherKnLib")
}
val iosMain by getting {
implementation(project(":otherKnLib")
}
}
In this case, when i try to build, i got an Unresolved reference
Any idea ? Thanks in advance :)andylamax
06/30/2020, 9:45 AMproject(":otherKnLib")
also has an android and ios target with the same name and presetrusshwolf
06/30/2020, 12:01 PM