Updates version and gradleVersion.