update build.gradle to work with jenkins