Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
java-library-glpi
Commits
84501bf3
Commit
84501bf3
authored
Oct 26, 2017
by
Rafa Hernandez
Committed by
Alexander Salas Bastidas
Oct 27, 2017
Browse files
ci(gradle): add quoting variables
parent
60e42f83
Changes
2
Hide whitespace changes
Inline
Side-by-side
ci/scripts/ci_gradle_properties.sh
View file @
84501bf3
...
...
@@ -27,6 +27,6 @@
rm
gradle.properties
echo
org.gradle.jvmargs
=
-Xmx1536m
>>
gradle.properties
echo
glpi_user
=
"
$GLPI_USER
"
>>
gradle.properties
echo
glpi_password
=
"
$GLPI_PASSWORD
"
>>
gradle.properties
echo
glpi_url
=
"
$GLPI_URL
"
>>
gradle.properties
echo
glpi_user
=
\
"
$GLPI_USER
\
"
>>
gradle.properties
echo
glpi_password
=
\
"
$GLPI_PASSWORD
\
"
>>
gradle.properties
echo
glpi_url
=
\
"
$GLPI_URL
\
"
>>
gradle.properties
glpi/build.gradle
View file @
84501bf3
...
...
@@ -17,9 +17,9 @@ android {
buildTypes
{
buildTypes
.
each
{
def
glpi_user_val
=
"\"${
glpi_user
}\""
?:
"\"\""
def
glpi_password_val
=
"\"${
glpi_password
}\""
?:
"\"\""
def
glpi_url_val
=
"\"${
glpi_url
}\""
?:
"\"\""
def
glpi_user_val
=
glpi_user
?:
"\"\""
def
glpi_password_val
=
glpi_password
?:
"\"\""
def
glpi_url_val
=
glpi_url
?:
"\"\""
it
.
buildConfigField
'String'
,
'GLPI_USER'
,
glpi_user_val
it
.
buildConfigField
'String'
,
'GLPI_PASSWORD'
,
glpi_password_val
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment