fix gradle dependencies to latest versions and tweak integration flow