Skip to content

Instantly share code, notes, and snippets.

@emartynov
Created November 13, 2016 13:31
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 emartynov/e1e9db29ae6b3a67e3f607939c14433d to your computer and use it in GitHub Desktop.
Save emartynov/e1e9db29ae6b3a67e3f607939c14433d to your computer and use it in GitHub Desktop.
Adding local dependency instead of maven repo one
dependencies {
compile files('libs/support-annotations-25.0.0.jar')
}
//And in app build.gradle
compile( supportAppCompat ) {
exclude group: 'com.android.support', module: 'support-annotations'
}
compile( supportDesign ) {
exclude group: 'com.android.support', module: 'support-annotations'
}
compile( butterKnife ) {
exclude group: 'com.android.support', module: 'support-annotations'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment