diff --git a/README.md b/README.md index e6d4f8c1087..3684e1e8872 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,37 @@ of your `pom.xml` and the `dagger-compiler` artifact as either an `optional` or ``` +or as an `annotationProcessorPaths` value of the `maven-compiler-plugin` +(requires at least version 3.5): + +```xml + + + com.google.dagger + dagger + 2.x + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.1 + + + + com.google.dagger + dagger-compiler + 2.x + + + + + + +``` + If you use the beta `dagger-producers` extension (which supplies parallelizable execution graphs), then add this to your maven configuration: @@ -80,7 +111,7 @@ parallelizable execution graphs), then add this to your maven configuration: ```groovy // Add plugin https://plugins.gradle.org/plugin/net.ltgt.apt plugins { - id "net.ltgt.apt" version "0.5" + id "net.ltgt.apt" version "0.10" } // Add Dagger dependencies