summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-07-31 04:26:51 +0000
committercyberta <cyberta@riseup.net>2022-07-31 04:26:51 +0000
commit3bdbe09ffd7f4039f37af93b0da6b0965e09e0bd (patch)
tree5de20333b567084efe8e260145c7d5ca374f8232 /app/build.gradle
parent2382b154db69a186e5fcf6600e5c4dceb11fb031 (diff)
parent897278b0fe93552108d3b7b6a75ccd92818a3b83 (diff)
Merge branch 'obfuscation_gateway_pinning' into 'master'1.1.5RC1
Beta Release - Obfuscation gateway pinning See merge request leap/bitmask_android!201
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle18
1 files changed, 11 insertions, 7 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 3e4f4ee2..8a6f08dd 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -13,13 +13,17 @@ android {
sourceCompatibility 1.8
}
+ viewBinding {
+ enabled = true
+ }
+
defaultConfig {
applicationId "se.leap.bitmaskclient"
// the factor 1000 is used so that gplay users can upgrade from split apks ((current version number - 1) * 1000) + n
// to extracted bundle apks, supplied by google
// however we don't calculate the versionCode here, because F-Droid doesn't like that
- versionCode 162000
- versionName "1.1.4"
+ versionCode 163000
+ versionName "1.1.5"
minSdkVersion 16
targetSdkVersion 30
vectorDrawables.useSupportLibrary = true
@@ -46,10 +50,10 @@ android {
// decide if we use obfsvpn or shapeshifter as obfs4 lib
buildConfigField 'boolean', 'use_obfsvpn', 'true'
// obfsvpn Debugging config fields to pin and configure a particular proxy
- buildConfigField 'boolean', 'obfsvpn_pinning', 'false'
- buildConfigField "String", "obfsvpn_port", '""'
- buildConfigField "String", "obfsvpn_ip", '""'
- buildConfigField "String", "obfsvpn_cert", '""'
+ buildConfigField "String", "obfsvpn_port", '"443"'
+ buildConfigField "String", "obfsvpn_ip", '"163.172.58.132"'
+ buildConfigField "String", "obfsvpn_cert", '"/ntRNI6JYP7R6kGKldibKWj0aCsv96Hdu/jSGncPy+rcverCLI7Emod+vRkz61hM7F/udA"'
+ buildConfigField "String", "obfsvpn_gateway_host", '"vpn03-par.float.hexacab.org"'
buildConfigField 'boolean', 'obfsvpn_use_kcp', 'false'
// static update url pointing to the latest stable release apk
@@ -144,10 +148,10 @@ android {
// decide if we use obfsvpn or shapeshifter as obfs4 lib
buildConfigField 'boolean', 'use_obfsvpn', 'true'
// obfsvpn Debugging config fields to pin and configure a particular proxy
- buildConfigField 'boolean', 'obfsvpn_pinning', 'false'
buildConfigField "String", "obfsvpn_port", '""'
buildConfigField "String", "obfsvpn_ip", '""'
buildConfigField "String", "obfsvpn_cert", '""'
+ buildConfigField "String", "obfsvpn_gateway_host", '""'
buildConfigField 'boolean', 'obfsvpn_use_kcp', 'false'
//Build Config Fields for automatic apk update checks