diff options
author | cyberta <cyberta@riseup.net> | 2020-01-24 08:34:24 -0800 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2020-01-24 08:34:24 -0800 |
commit | 721d222a457ec0dfec28bc4ee4908b50f04904fc (patch) | |
tree | a83724b8cda98136d5e270eeef7296f7323375b9 /app/build.gradle | |
parent | 95bd478d62c9ebf3e313df4915c392dfd094d615 (diff) | |
parent | df563345352a26d627415740dcf2ef58d724b868 (diff) |
Merge branch 'no-dns-fallback' into 'master'
No dns fallback
See merge request leap/bitmask_android!99
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle index 68db8926..286ddc1c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -37,8 +37,10 @@ android { buildConfigField 'int', 'donation_reminder_duration', '30' //skip the account creation / login screen if the provider offers anonymous vpn usage, use directly the anonymous cert instead buildConfigField 'boolean', 'priotize_anonymous_usage', 'false' - //ignore the following config, only used in custom flavor + //ignore the following configs, only used in custom flavor buildConfigField "String", "customProviderUrl", '""' + buildConfigField "String", "customProviderIp", '""' + buildConfigField "String", "customProviderApiIp", '""' testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" dexOptions { @@ -89,6 +91,12 @@ android { //Provider base url, e.g. '"https://example.com"' def customProviderUrl = '"https://riseup.net"' buildConfigField "String", "customProviderUrl", customProviderUrl + //static ip address of provider, using a commercially validated CA certificate to serve the provider.json + def customProviderIp = '"198.252.153.70"' + buildConfigField "String", "customProviderIp", customProviderIp + //static ip address of the provider api, using a self signed certificate to serve provider.json, eip-service.json etc. + def customProviderApiIp = '"198.252.153.107"' + buildConfigField "String", "customProviderApiIp", customProviderApiIp //Change the versionCode as needed //versionCode 1 //Change the versionName as needed |