Update Gradle and build toolchain, better pause handling