is there a way to make all the dependencies in com...
# multiplatform
g
is there a way to make all the dependencies in commonMain/androidMain transitive so that they'll be added to the generated .aar file?
s
Like using api instead of implementation?
g
Tried that and it didn't work. Also tried API + transitive = true but still the dependency wasn't found in android
s
how are you referencing the AAR? Try leveraging mavenLocal() repository via publishToMavenLocal gradle task. Your AAR needs an up to date POM file for your app to know which dependencies to download
g
I copy the aar directly from the build dir. I do a clean build and copy the aar so you are on to something! I will give it a go when I'm back home thanks
👍 1