Prepare build.gradle for jenkins.