diff options
author | Colin Cross <ccross@android.com> | 2020-11-19 13:52:06 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2020-11-19 14:20:12 -0800 |
commit | 748b2d829a5329ca2d87c8ddcdaf7bfc86325fb9 (patch) | |
tree | 2ce93c26888d250b7dc949d3d9375327b2a55ef6 /java/java_test.go | |
parent | b479459ac98aa59de2b877b1a3687d9ad2647ecb (diff) |
Support extra checks for ErrorProne in a dedicated property
Previous extra checks for ErrorProne were added using the plugins
proeprty to get them into the -processorpath argument. This works
fine for java-only modules, but fails for mixed java+kotlin modules
because the processorpath is given to kapt and not javac.
Add a dedicated errorprone.extra_check_modules property (mirroring
the lint.extra_check_modules property), and add that to a separate
processorpath that is used only for errorprone rules and not cleared
when kotlin is used.
Test: TestKapt/errorprone
Change-Id: Id6ef02ce758532d1df8b8d969fad83bb44fe93ab
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions