From ec181dda0f856e6c1aea4f8102ae8af4c145b1f7 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 21 Jan 2019 21:43:28 -0800 Subject: Replace annotation_processors with plugins The annotation_processors property is deprecated, replace it with plugins. Bug: 77284273 Test: m checkbuild Change-Id: If08ae0e4848e9beb2e53ba852119788c94d0672c --- Android.bp | 6 +----- 1 file changed, 1 insertion(+), 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", - ], } -- cgit v1.2.3