Using build.gradle to configure the builds