determine Gradle version from build.gradle