Skip to content

Instantly share code, notes, and snippets.

Created July 27, 2017 16:13
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 anonymous/1dda4a85d4d3c021a8fc07251901f9f2 to your computer and use it in GitHub Desktop.
Save anonymous/1dda4a85d4d3c021a8fc07251901f9f2 to your computer and use it in GitHub Desktop.
****************LIBRARY***********
buildTypes {
debug{
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
****************APP***********
android {
......
buildTypes {
debug {
debuggable true
}
release {
debuggable false
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
lintOptions {
abortOnError false
}
}
buildTypeMatching 'debug', 'release'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment