summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-12 19:37:21 +0200
committercyBerta <cyberta@riseup.net>2021-07-21 22:02:28 +0200
commit8d94a1107c73a964e00859f58098019751b433bd (patch)
tree40fd29f9c00334b646a71a3bd15e142224a44035
parent386d1d8cfc7fc44c837a5010ed3ed6918030e04f (diff)
ensure fronts file will be included in all builds
-rw-r--r--app/build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index e436df38..baad211a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -230,6 +230,9 @@ android {
applicationIdSuffix ".beta"
appSuffix = " Beta"
buildConfigField "Boolean", "DEBUG_MODE", "true"
+
+ // tor-android doesn't know this build-type, fallback to release in that case
+ matchingFallbacks = ['release']
}
debug {
testCoverageEnabled = true
@@ -445,7 +448,8 @@ android.applicationVariants.all { variant ->
'urls/',
'*.url',
'*.json',
- '*.pem'])
+ '*.pem',
+ 'fronts'])
delete(filesToDelete)
}
}