diff options
author | cyberta <cyberta@riseup.net> | 2020-07-24 10:20:22 -0700 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2020-07-24 10:20:22 -0700 |
commit | bdd909d1faae569f27d61ad510d11fad74a5a27c (patch) | |
tree | c3266b79c930a6a902814e6c58c457280ed67c2a /app/build.gradle | |
parent | 4198c9b3bb1fee4bfcb3009ac9d80610ead13466 (diff) | |
parent | 38f5720502fda7b89ce204fe4afdffa67ac0ae82 (diff) |
Merge branch 'support_geoip' into 'master'
Support geoip
See merge request leap/bitmask_android!108
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 6c236669..088be987 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,6 +41,7 @@ android { buildConfigField "String", "customProviderUrl", '""' buildConfigField "String", "customProviderIp", '""' buildConfigField "String", "customProviderApiIp", '""' + buildConfigField "String", "geoipUrl", '""' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" dexOptions { @@ -97,6 +98,8 @@ android { //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 + def geoipUrl = '"https://api.black.riseup.net:9001/json"' + buildConfigField "String", "geoipUrl", geoipUrl //Change the versionCode as needed //versionCode 1 //Change the versionName as needed |