Update build.gradle

Adding build parameters to try and appease mighty jenkins.