Why is compiling Kotlin Native so slow? I have add...
# kotlin-native
g
Why is compiling Kotlin Native so slow? I have added compose dependency to the project. When I change one line, JVM variant compiles in 1-3 seconds and native compiles in 30-40 seconds
a
there are some tips for improving compilation time here: https://kotlinlang.org/docs/native-improving-compilation-time.html
g
Thanks I guess slow build is caused by having
kotlin.native.cacheKind=none
, but without it projects does not build at all. Will wait for https://github.com/JetBrains/compose-multiplatform/issues/2046 to be resolved...