Skip to content

Instantly share code, notes, and snippets.

@frogermcs
Created March 7, 2016 22:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save frogermcs/b7515bf5d69a79923c71 to your computer and use it in GitHub Desktop.
Dagger 2 Producers
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.frogermcs.androiddevmetrics'
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
//...
dependencies {
//...
//Dagger 2
compile 'com.google.dagger:dagger:2.1-SNAPSHOT'
compile 'com.google.dagger:dagger-producers:2.1-SNAPSHOT'
apt 'com.google.dagger:dagger-compiler:2.1-SNAPSHOT'
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment