diff --git a/build.gradle b/build.gradle index 83764a2d3f..2ea0319202 100644 --- a/build.gradle +++ b/build.gradle @@ -305,6 +305,8 @@ subprojects { subProject -> plusConfigurations.add( configurations.provided ) } } + // eclipseClasspath will not add sources to classpath unless the dirs actually exist. + eclipseClasspath.dependsOn("generateSources") // Report configs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checkstyle {