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
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
/android/app/free*

View file

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