Disable all annotation processors

Some unused annotation processors caused build-time failures. Instead,
we should just be explicit about which annotation processors we will use
(if any) with additional command-line flags.

Relates #19919
This commit is contained in:
Jason Tedor 2016-08-10 10:42:28 -04:00 committed by GitHub
parent 05d0402fae
commit 1e91f3b779
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class BuildPlugin implements Plugin<Project> {
* -serial because we don't use java serialization. * -serial because we don't use java serialization.
*/ */
// don't even think about passing args with -J-xxx, oracle will ask you to submit a bug report :) // don't even think about passing args with -J-xxx, oracle will ask you to submit a bug report :)
options.compilerArgs << '-Werror' << '-Xlint:all,-path,-serial,-options,-deprecation' << '-Xdoclint:all' << '-Xdoclint:-missing' options.compilerArgs << '-Werror' << '-proc:none' << '-Xlint:all,-path,-serial,-options,-deprecation' << '-Xdoclint:all' << '-Xdoclint:-missing'
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
//options.incremental = true //options.incremental = true