From c0d8f7c6ecb9b6114bff67d940cacdc8d4321da6 Mon Sep 17 00:00:00 2001 From: Cypress Frankenfeld Date: Thu, 16 Mar 2017 13:47:31 -0400 Subject: [PATCH] Update index.md --- value/userguide/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/value/userguide/index.md b/value/userguide/index.md index f6fd09a8d2..008b6e149a 100644 --- a/value/userguide/index.md +++ b/value/userguide/index.md @@ -92,6 +92,16 @@ dependencies { } ``` +Those using gradle for Android projects should use +```groovy +dependencies { + provided "com.google.auto.value:auto-value:1.2" + annotationProcessor "com.google.auto.value:auto-value:1.2" +} +``` +See https://bitbucket.org/hvisser/android-apt/wiki/Migration for more info about replacing apt with annotationProcessor in gradle for Android. + + [tbroyer-apt]: https://plugins.gradle.org/plugin/net.ltgt.apt