Converted build to gradle (untested)