Fixed some gradle issues.