Add android build CI

This commit is contained in:
Tony Giorgio
2023-07-18 21:48:26 -05:00
committed by Tony Giorgio
parent f3764a1311
commit d951fceaca
5 changed files with 461 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionName "0.4.3-1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -22,6 +22,17 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "channel"
productFlavors {
play {
dimension "channel"
}
fdroid {
getIsDefault().set(true)
dimension "channel"
}
}
}
repositories {