Skip to content

Commit

Permalink
update README.md for supporting android default annotationProcessor (#97
Browse files Browse the repository at this point in the history
)
  • Loading branch information
anasanasanas authored and sockeqwe committed Jul 11, 2018
1 parent 36997f1 commit 5de3946
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,20 @@ apt {
}
}
// Annotation processor
android {
....
defaultConfig {
....
javaCompileOptions {
annotationProcessorOptions {
arguments = [ fragmentArgsLib : 'true' ]
includeCompileClasspath true
}
}
}
}
// Kotlin Annotation processor
kapt {
generateStubs = true
Expand Down

0 comments on commit 5de3946

Please sign in to comment.