Should fix jenkins issues

Modifies build.gradle for jenkins vs local environs