Created
December 22, 2022 12:36
-
-
Save Krillsson/0914f51b5b492e3dbc7f19993214412c to your computer and use it in GitHub Desktop.
Log categories in buildConfigField from local.properties
This file contains 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
defaultConfig { | |
buildConfigField "String[]", "LOG_CATEGORIES", readProperty( | |
project.rootProject.file('local.properties'), | |
"log.categories", | |
"{\"Default\"}" | |
) | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment