Upgraded gradle to supported version. Fixed depracated proGuard method.