FYI - there is a
major build speed regression in Kotlin 1.6.0 on android projects (~15%-40% in our benchmarks). I've published a workaround here for anyone that's update and doesn't want to wait for 1.6.10:
https://github.com/ZacSweers/kgp-160-patcher. It ports
@gavra's
fix and can be monkeypatched in like so in Gradle.
buildscript {
dependencies {
// Must go before the real KGP plugin!
classpath("dev.zacsweers:kgp-160-patcher:1.0.0")
}
}