Skip to content

Commit

Permalink
Add support for gradle's incremental annotation processing
Browse files Browse the repository at this point in the history
Fixes #1120

RELNOTES=Add support for gradle's incremental annotation processing. This can be enabled by passing `-Adagger.gradle.incremental` to `javac`

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=211815034
  • Loading branch information
ronshapiro committed Sep 12, 2018
1 parent 58a8b60 commit 6a13bb8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compiler-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ loading is expensive, consider using fastInit mode.
To enable fastInit mode, pass the following option to javac when building your
Dagger [`@Component`]: `-Adagger.fastInit=enabled`

## Gradle incremental compilation

Dagger has conditional support for Gradle's incremental annotation processing.
To enable this in your build, pass `-Adagger.gradle.incremental` as an option to
`javac`. Please help us validate (and file bugs if you see weirdness!) so that
we can enable this broadly.



<!-- References -->

[`@Component`]: https://google.github.io/dagger/api/latest/dagger/Component.html
Expand Down

0 comments on commit 6a13bb8

Please sign in to comment.