Centralize configuration to root build.gradle.