diff options
author | cyBerta <cyberta@riseup.net> | 2022-11-11 01:35:02 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-11-22 01:48:38 +0100 |
commit | 7c8bcb7efe39ce62fb19f90ad5c758d522be64a0 (patch) | |
tree | b130a2be5888aaaab4d4a153c06ce2e89bd0b3ae /app/build.gradle | |
parent | 08ed7bcd70750b066af2a6d6845d6bd904981e2a (diff) |
add BuildConfig field to set motd url in custom branded clients
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 239190fd..1e17f01d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,6 +68,7 @@ android { buildConfigField "String", "customProviderIp", '""' buildConfigField "String", "customProviderApiIp", '""' buildConfigField "String", "geoipUrl", '""' + buildConfigField "String", "customProviderMotdUrl", '""' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" dexOptions { @@ -133,6 +134,9 @@ android { buildConfigField "String", "customProviderApiIp", customProviderApiIp def geoipUrl = '"https://api.black.riseup.net:9001/json"' buildConfigField "String", "geoipUrl", geoipUrl + //URL for the message of the day, see https://0xacab.org/leap/motd#motd-message-of-the-day + def customProviderMotdUrl = '"https://static.riseup.net/vpn/motd.json"' + buildConfigField "String", "customProviderMotdUrl", customProviderMotdUrl //Change the versionCode as needed //versionCode 1 //Change the versionName as needed |