diff options
author | cyBerta <cyberta@riseup.net> | 2020-07-01 00:15:52 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2020-07-01 00:15:52 +0200 |
commit | 015d8f9f512b5020d380aadf4af70a89a4b3dc42 (patch) | |
tree | 02d659c33e3d62be8f5e64ac991ee55767488cdb /app/build.gradle | |
parent | 4198c9b3bb1fee4bfcb3009ac9d80610ead13466 (diff) |
inject preshipped geoip url to provider object
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 |