Git repo: https://github.com/tsvtkv/android-dagger
It’s an android project that uses kotlin and dagger.
I’ve added classpath printing to kotlin and java tasks (in doFirst).
Running ‘assembleDebug’ multiple times, I’ve noticed that classpath order is often different (which forces Kotlin compilation).
Gradle Version: 3.1 RC1
Operating System and JVM version: Ubuntu 14.04 64 bit; JDK 1.8.0_102
The issue does not seem reproducible for me with Gradle 2.14.1 and Gradle 3.0.