update build.gradle to use rootProject config