Unverified Commit e3ab605e authored by Rafa Hernandez's avatar Rafa Hernandez
Browse files

build(gradle): preset build variables

parent 4ca9c6e0
......@@ -17,6 +17,9 @@ android {
buildTypes {
buildTypes.each {
if(glpi_user == null) { glpi_user = "-" }
if(glpi_password == null) { glpi_password = "-" }
if(glpi_url == null) { glpi_url = "-" }
it.buildConfigField 'String', 'GLPI_USER', glpi_user
it.buildConfigField 'String', 'GLPI_PASSWORD', glpi_password
it.buildConfigField 'String', 'GLPI_URL', glpi_url
......
glpi_user=""
glpi_password=""
glpi_url=""
\ No newline at end of file
glpi_user=
glpi_password=
glpi_url=
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment