Hi there, does anyone have experience using mavenLocal() with kmm? I made a kmm library named
multiplatform
, and performed publishToMavenLocal. The jar files look to be in my local path .m2 path. So I'm not too sure why I'm getting this error when importing:
Because your multiplatform.jar file is just a metadata to tell gradle where to get platform specific artefacts (multiplatform-android.aar, multiplatform-iosX64.klib, etc...)
b
Ben
07/15/2021, 11:45 PM
Gotcha so then, would it be possible to publish the multiplatform-android.aar from my multiplatform build.gradle.kts?
b
Big Chungus
07/16/2021, 12:02 AM
Should happen automatically if you've configured your targets properly