Update gradle builds to modern versions