Upgrading sdk and gradle