Use standard gradle property evironment vars.

 - Instead of setting extension properties in the build.gradle from
   environment variables, use the standard Gradle Properties mechanism.

   See:
   http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html