https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Mike

03/02/2020, 5:54 PM
Hi, I'm hitting extremely long compile times in a kotlin native mpp project during the compileKotlinJvm task. It takes around 10 minutes to build every time I modify something (I am using a very fast machine). I tried running a profiled build and think incremental build is broken for some reason. Has anyone hit similar issues? https://github.com/JetBrains/kotlin-native/issues/3933
r

rolgalan

03/03/2020, 11:30 AM
Have you tried build scans to detect which tasks are taking more time? This will also help you identifying tasks not cached that are being executed again https://guides.gradle.org/performance/#build_scans
m

Mike

03/03/2020, 12:43 PM
Thanks I will take a look. I've tried a profiled build but that didn't narrow down the issue other than tell me it was the jvm task.