Minimize build.gradle and delete Sample.java