Hi! Does anyone know any good article or documentation with Kotlin compiler internals overview? Particularly, I’m interested in how JVM interop works. Does Kotlin compiler run javac first? If yes, then how it resolves reference cycles between Java <-> Kotlin? For example, if I have some Android gradle module with mixed java/kotlin source code I can see that Gradle executes
KotlinCompile
task and
AndroidJavaCompile
task (from Android Gradle Plugin). Is
KotlinCompile
task contain java compilation or not?