Is there a reason for having by default the kotlin...
# gradle
g
Is there a reason for having by default the kotlin2js plugin generating js code in build/classes/java/main directory? The java directory is a little bit weird no?
b
cc @h0tk3y
h
@gaetan This behavior is caused by the two facts: 1) Kotlin Gradle plugin uses the Java classes directory for Kotlin output by default 2) Gradle moved to separate classes directories for each language in 4.0, and the directory path change to
build/classes/java/main
(it used to be just
build/classes/main
) The whole situation is a known issue and has been fixed for Kotlin 1.1.4, where the default directory becomes
build/classes/kotlin/main
https://youtrack.jetbrains.com/issue/KT-18495
👍 2