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:
parent
05d0402fae
commit
1e91f3b779
|
@ -385,7 +385,7 @@ class BuildPlugin implements Plugin<Project> {
|
|||
* -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 :)
|
||||
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.incremental = true
|
||||
|
||||
|
|
Loading…
Reference in New Issue