J-Rojas
03/28/2018, 4:30 PMactual
declarations, similar to this blog post:
https://blog.kotlin-academy.com/extracting-multiplatform-common-modules-in-android-4a564cc03e0a
I'm having trouble compiling the Android module when using compile() vs expectedBy() declarations.
The follow doesn't work... the common project classes are not included in the compilation and there are Unresolved reference errors.
dependencies {
compile project(':common')
expectedBy project(':common-expect')
...
}
However this does work
dependencies {
expectedBy project(':common')
expectedBy project(':common-expect')
...
}
Is expectedBy
the only method for importing definitions between multiplatform modules? What might I be doing wrong? I'm using 1.2.40-eap-16 which has support for multiple expectedBy
statements.