To reduce build times in your Compose Multiplatform project, try these steps:
kotlin.experimental.tryK2=true
Enable Gradle's configuration cache:
org.gradle.unsafe.configuration-cache=true
Enable parallel execution:
org.gradle.parallel=true
Enable incremental compilation:
kotlin.incremental=true
classpath 'com.android.tools.build:gradle:'
Fix Warnings: The build warnings you’re seeing might be slowing down the process. Try to resolve them, especially any related to deprecations or plugin issues.
Build for Specific iOS Targets: Instead of building for all iOS architectures (Arm64, X64, etc.) at once, build only for the one you're testing (e.g., just for the simulator).