Getting build.gradle to work (rewrite).