Update gradle and add release task