Start using build flavors

This commit is contained in:
Ming Ming 2021-07-15 13:16:15 +08:00
parent 92e58daa9b
commit 7ad1f2fcf1
2 changed files with 8 additions and 3 deletions

4
.gitignore vendored
View file

@ -42,6 +42,4 @@ app.*.symbols
app.*.map.json app.*.map.json
# Android Studio will place build artifacts here # Android Studio will place build artifacts here
/android/app/debug /android/app/free*
/android/app/profile
/android/app/release

View file

@ -52,6 +52,13 @@ android {
} }
} }
flavorDimensions "version"
productFlavors {
free {
dimension "version"
}
}
splits { splits {
abi { abi {
enable true enable true