gradle: Add support choosing Gradle JVM