Fix buid.gradle and add makepretty task