optimize build.gradle