Gradle 4.0 came out yesterday and I updated my project for it.
Now I am getting the following warning:
Gradle now uses separate output directories
For example, if you mix Java, Kotlin and Groovy project structure should be like the following:
root/
src/
main/
java/
kotlin/
groovy/
test/
java/
kotlin/
groovy/
In you build.gradle you have to specify plugins that are required for specific language.
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'kotlin'