Skip to content

Instantly share code, notes, and snippets.

@ubiratansoares
Created December 29, 2016 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ubiratansoares/3889e007dbe8cb43f691dab71f6ebf1a to your computer and use it in GitHub Desktop.
Save ubiratansoares/3889e007dbe8cb43f691dab71f6ebf1a to your computer and use it in GitHub Desktop.
Increase javac maxErrors output for Gradle-based build
allprojects {
repositories {
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "1000"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment