Gradle Build Cache for Kotlin sources

Reading through the release notes for Gradle 4.0, the announcement seemed pretty exclusive for what JVM languages the build cache was production ready for, and what languages it would drastically reduce build times for. Groovy and Java were the only 2 mentioned. Is there an ETA for when the build cache will be production ready for Kotlin, and lower build times in Kotlin projects?

1 Like

I’m following 2 issues on the JetBrains YouTrack regarding cacheable Kotlin tasks:

  1. KT-15753: Support cacheable tasks
  2. KT-20017: Support local (non-relocatable) Gradle build cache

This is now supported as of Kotlin 1.1.20. See Eric’s blog post at https://blog.gradle.org/kotlin-build-cache-use and also on the Kotlin blog at https://blog.jetbrains.com/kotlin/2018/02/using-gradle-build-cache-with-kotlin/