Update gradle to work with update framework.