Restructured build.gradle.