Created
March 13, 2020 07:57
-
-
Save motorro/33f34eb0e9a54196605e8d21ce1111f5 to your computer and use it in GitHub Desktop.
Database version constant
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
android { | |
defaultConfig { | |
// Database version that gets updated with import script | |
buildConfigField "int", "CITIES_DB_VERSION", CITIES_DB_VERSION | |
} | |
} |
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
# Version of DB file included with application | |
# Autoincremented at each run of DB export | |
CITIES_DB_VERSION=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment