Patching processResources in build.gradle