feat(android): add foss flavor build without gms services (#3666)

This commit is contained in:
Huang Xin 2026-03-28 12:36:09 +08:00 committed by GitHub
parent 966f5e2acd
commit bbfc82e50d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 48 additions and 9 deletions

View file

@ -30,10 +30,21 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
flavorDimensions += "store"
productFlavors {
create("foss") {
dimension = "store"
}
create("googleplay") {
dimension = "store"
}
}
}
dependencies {
implementation("com.android.billingclient:billing-ktx:7.1.1")
"googleplayImplementation"("com.android.billingclient:billing-ktx:7.1.1")
"googleplayImplementation"("com.google.android.gms:play-services-base:18.5.0")
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.browser:browser:1.8.0")