https://kotlinlang.org logo
s

Scott Kruse

11/24/2021, 7:16 PM
How do we call functions from
commonMain
source set from the consumer of the corresponding android target AAR? Right now my project has a couple public composables defined in
commonMain
, but they're not visible to my android project. The AAR is resolved via
mavenLocal
at the moment
c

Chris Mulder

11/25/2021, 10:57 AM
Are you using
api
instead of
implementation
for the dependencies you want your consumer project to be able to have access to?
s

Scott Kruse

11/25/2021, 4:48 PM
yeah i was using api.. I think it ended up being a gradle sync / android studio autocomplete / cache issue. Im now able to reference functions from commonMain
👍 1
2 Views