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
Scott Kruse
02/05/2022, 2:16 PM
Like using api instead of implementation?
g
Gillian Buijs
02/05/2022, 2:38 PM
Tried that and it didn't work. Also tried API + transitive = true but still the dependency wasn't found in android
s
Scott Kruse
02/05/2022, 2:44 PM
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
Gillian Buijs
02/05/2022, 2:52 PM
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