Modify build.gradle to prepare release builds