I have an android kotlin project, incremental build time of which is really huge. If I press Make project
, wait till build complete and press Make project
again, then it takes ~50 seconds to build, although I didn't make any change.
The --profile gradle option reveals that :app:kaptDebugKotlin
and :app:processDebugResources
take the most time(each one takes ~20sec).
How can I determine what is the cause of that? Btw. here is my gradle.properties
org.gradle.jvmargs=-Xmx4608M
org.gradle.daemon=true
kotlin.incremental=true
org.gradle.parallel=true