summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-07-01 00:15:52 +0200
committercyBerta <cyberta@riseup.net>2020-07-01 00:15:52 +0200
commit015d8f9f512b5020d380aadf4af70a89a4b3dc42 (patch)
tree02d659c33e3d62be8f5e64ac991ee55767488cdb /app/build.gradle
parent4198c9b3bb1fee4bfcb3009ac9d80610ead13466 (diff)
inject preshipped geoip url to provider object
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle3
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