https://kotlinlang.org logo
a

ankushg

08/10/2018, 10:02 PM
Has anyone successfully used Gradle's composite builds to include KMPPs in an Android project? I'm trying to avoid needing a private maven repo to publish my artifacts for the time being and just using
git submodule
so I can keep developing while we figure out private repo options. The IDE doesn't maintain the nesting of my projects in my KMPP and complains that `actual`s in my JS/JVM platform projects don't have corresponding `actual`s (they do), and that they can't use certain methods because they're
internal
to the
common
module...
a

ankushg

08/10/2018, 10:20 PM
thanks for that link! I didn't realize it was using a composite build when I first saw it. i'll take a peek and see if I can figure out what's different about my project that's making it misbehave
Thanks it's working now! The only somewhat annoying part is that in my KMPP, I had the platform-specific projects as subprojects of the common project, but in Android Studio, they all get flattened. I'm assuming this is a limitation of IntelliJ/Android Studio and not at all related to KMPP though 😛
21 Views