Created
January 9, 2017 11:13
-
-
Save vilmarbfilho/1f162d09899523198a8ffd424b47ccd1 to your computer and use it in GitHub Desktop.
Fix BuildConfig.DEBUG in module library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
answer: http://stackoverflow.com/questions/20176284/buildconfig-debug-always-false-when-building-library-projects-with-gradle | |
Complete documentation can be found here http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication | |
[LIBRARY - build.gradle] | |
android { | |
publishNonDefault true | |
} | |
[APP] | |
dependencies { | |
releaseCompile project(path: ':library', configuration: 'release') | |
debugCompile project(path: ':library', configuration: 'debug') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment