A question for scaling KMP with multimodule archit...
# multiplatform
m
A question for scaling KMP with multimodule architecture: With KMP as we all know we use the "umbrella" module for integration with iOS. However for Android what's the best and proven way to depend on KMP modules, via "umbrella" or just depending on individual modules? I see that in docs it says that for consistency we should depend on umbrella in Android also, but then wouldn't it impact Android build time? Because any changes to a single submodule of umbrella would cause to recompile all Android modules depending on umbrella.
p
Gradle will still be able to do incremental/partial builds if you depend on the umbrella project (so from source) because then the whole dependency tree stays under Gradle's control.
so
implementation(project(":umbrella"))
and not any output artifact.