title: Building with Intellij 2017.2 /out directory duplicates files in /build directory
body: <p>After updating to Intellij 2017.2, building my project creates an <code>/out</code> directory that contains generated source files and resource files. These files duplicate files that are already contained in <code>/build</code> and result in <code>duplicate class</code> compiler errors for the generated classes. Any ideas on a fix I need in Gradle or IntelliJ?</p>