Update gradle wrapper, build tools and compile SDK.