Hello, I’ve noticed that whenever a new release is...
# kotlin-native
s
Hello, I’ve noticed that whenever a new release is available, the Gradle plugin downloads the Kotlin/Native prebuilt, which is ~ 350MB, and then executes the
commonizeNativeDistribution
task. On my M1 machine, this task consistently takes over 10 minutes to complete. Any idea why it takes so long and are there any potential optimizations to improve its performance?
Copy code
> Task :backend:native:commonizeNativeDistribution
Download <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-native-prebuilt/2.1.20-RC2/kotlin-native-prebuilt-2.1.20-RC2-macos-aarch64.tar.gz>, took 46 s 810 ms
Download <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-klib-commonizer-embeddable/2.1.20-RC2/kotlin-klib-commonizer-embeddable-2.1.20-RC2.jar>, took 915 ms