https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
b

basher

05/08/2019, 3:50 AM
Is there a way to have a multiplatform project depend on another and have both projects’ binaries be included in the same iOS app?
y

yshrsmz

05/08/2019, 6:54 AM
my current workaround is to create a wrapper module which imports all the modules and export them
Copy code
iosX64("ios) {
  binaries([DEBUG, RELEASE]) {
    export(project(":projectA"))
    export(project(":projectB")) 
}

commonMain {
  dependencies {
    implementation project(":projectA")
    implementation project(":projectB")
  }
}
b

basher

05/08/2019, 1:03 PM
Noted. Thanks!