Finally have a workable build.gradle.