add fdroid variant
This commit is contained in:
parent
f60af3f40b
commit
0cc93e23af
1 changed files with 13 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue