gradle8+:
I want to change it to compile to the same directory with java:
compileKotlin { destinationDirectory = file("build/classes/java/main") }