Skip to content

Instantly share code, notes, and snippets.

@mitchellbusby
Created September 19, 2016 22:44
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 mitchellbusby/2ab2622d9efc26523940c1d8395a5be5 to your computer and use it in GitHub Desktop.
Save mitchellbusby/2ab2622d9efc26523940c1d8395a5be5 to your computer and use it in GitHub Desktop.
Gradle build to ignore duplicate meta infs and prevent dex errors in Android
android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment