Hi we are seeing while generating the framework f...
# multiplatform
s
Hi we are seeing while generating the framework for multi modular kmp project, android studio taking around ~3 to 4hrs!!, project just contains 4 modules under single umbrella, from umbrella module we are generating the framework. Is there way to optimise or is it expected ?
t
3-4 hours of building ios framework in Android Studio?
s
yes @tapchicoma
t
Are you building the release framework? Do you have native cache disabled?
s
this the log btw what is the flag for this?
native cache disabled?
t
btw what is the flag for this?
kotlin.native.cacheKind
in
gradle.properties
also I see you are building both debug and release variants. For local development I would advice to only build debug variant. Overall please check this page: https://kotlinlang.org/docs/native-improving-compilation-time.html#gradle-configuration