Hello all, I’m making some tests here with KMP mu...
# multiplatform
c
Hello all, I’m making some tests here with KMP multi-modules but I think I’m doing something wrong in terms of configurations. I’ve got: • KMP project (library) no 1 • KMP project (library) no 2 (makes use of library no 1) • Android/iOS app that use both libraries I can successfully compile each library individual. But when I try to import lib no1 intro lib no2 on Android Studio (via settings.gradle) I’ve got a couple of errors: • It’s unable to find buildSrc • It complains as not having any target defined (I’m using gradle 6.8.1 and plugin 7.0.0-alpha05) Any idea what I might be doing wrong?
m
c
Hmm… if I understood it correctly, if I run it via:
gradle build assembleDebug
it should work, right? I’m still having the same issue 😕
m
no, if you call
gradle build
the Issue will happens because the
build
task has not variant applied
try call only the
assembleDebug
task
c
same problem on my side 😕
m
well, it seams the tasks dependent on non
variant
settings will always fail