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
My case was a bit specific because output classes directories were used to construct classpath entry for command-line execution. But perhaps this will help someone.
I decided to concatenate all output directories. The change I made was form
sourceSets.integrationTest.output.classesDir
to
ext {
classpathSeparator = System.properties['os.name'].toLowerCase().contains('windows')?";":":"
}
...
sourceSets.integrationTest.output.classesDirs.join(classpathSeparator)