Code clean up in gradle file.