It might surprise people, that's all. Indeed if you're porting a project to Kotlin it would suck to separate the code into two folders. I'm not sure if it works out of the box, maybe you need to mess with the sourceSets: https://kotlinlang.org/docs/reference/using-gradle.html#targeting-the-jvm