Lately I’ve been trying to analyze the performance of Kotlin compilation and kapt under Gradle, specifically incremental compilation. There’s a couple of really helpful properties that turn on report generation, and that contains a lot of interesting data:
kotlin.build.report.enable=true
kotlin.build.report.verbose=true