Skip to content

Instantly share code, notes, and snippets.

@janishar
Created December 25, 2016 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janishar/9b4d2fc8fd97ba823d85db7c4e43de74 to your computer and use it in GitHub Desktop.
Save janishar/9b4d2fc8fd97ba823d85db7c4e43de74 to your computer and use it in GitHub Desktop.
dependencies {
...
compile "com.google.dagger:dagger:2.8"
annotationProcessor "com.google.dagger:dagger-compiler:2.8"
provided 'javax.annotation:jsr250-api:1.0'
compile 'javax.inject:javax.inject:1'
}
@kuwapa
Copy link

kuwapa commented Nov 18, 2017

javax.annotation dependency is only required for Dagger < 2.1

For reference -
https://stackoverflow.com/questions/28661693/dagger2-dependency-gradle/28728624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment