Upgrade gradle and build tools