Add support choosing Gradle JVM

Add support choosing Gradle JVM