Update build.gradle

update build.gradle to work with jenkins