summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-01-21 21:43:28 -0800
committerColin Cross <ccross@android.com>2019-01-21 21:45:46 -0800
commitec181dda0f856e6c1aea4f8102ae8af4c145b1f7 (patch)
treee11956a7b1f81ac84084eb02597dc7c240d1903d
parent1b8781e72f7e038dcfaac925588d90c4f29ee28d (diff)
downloaddesugar-ec181dda0f856e6c1aea4f8102ae8af4c145b1f7.tar.gz
The annotation_processors property is deprecated, replace it with plugins. Bug: 77284273 Test: m checkbuild Change-Id: If08ae0e4848e9beb2e53ba852119788c94d0672c
-rw-r--r--Android.bp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 0f05c97..96e08ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -28,10 +28,6 @@ java_library_host {
},
// Use Dagger2 annotation processor
- annotation_processors: ["dagger2-auto-value"],
+ plugins: ["dagger2-auto-value"],
libs: ["dagger2-auto-value"],
- // b/25860419: annotation processors must be explicitly specified for grok
- annotation_processor_classes: [
- "com.google.auto.value.processor.AutoValueProcessor",
- ],
}