Fixed issues in gradle file.