added --info parameter to all gradle builds

to get more information from build server failures.

Change-Id: I6c8e6d5583c5b10d924a3dcd44b02d70ba8c41e2
(cherry picked from commit a64cde2210f9d6aac6eb4b10d37b61cfc3be0c78)
ensure that build script exits if subshell fails

a failure within a subshell will not automatically exit the parent
shell even if -e is set in the parent.

Change-Id: I09b2eb3b4934fcbebed5a5dc411f29b96b44f0f4
(cherry picked from commit e9f3b3dab466875432e5e4c25fe676f270d53ba3)