Upgrade to gradle 2.0 and update nexus workflow plugin