codeprogression
06/21/2017, 5:22 PMgradle.projectsEvaluated {
tasks.withType(JavaCompile){
options.compilerArgs << "-Xmaxerrs" << "1000"
}
By default, you will be shown the first 100 errors which may not contain the actual issue. This closure sets the error message limit to 1000. (I’ve never really seen it go over 150, but this covers nearly all cases.)