add fdroid variant

This commit is contained in:
Neeraj Gupta 2022-04-22 04:48:18 +05:30
parent f60af3f40b
commit 0cc93e23af
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -72,6 +72,11 @@ android {
playstore {
dimension "default"
}
fdroid {
dimension "default"
applicationIdSuffix ".fdroid"
signingConfig null
}
}
buildTypes {
@ -88,6 +93,14 @@ android {
}
}
}
android.applicationVariants.all { variant ->
if (variant.flavorName == "fdroid") {
variant.outputs.all { output ->
output.outputFileName = "app-fdroid-release.apk"
}
}
}
}
rootProject.allprojects {