I can't seem to figure out how to specify the Java...
# intellij
k
I can't seem to figure out how to specify the Java version for gradle tasks run in IDEA. I've tried the choose runtime plugin, the module settings dialog, and setting
org.gradle.java.home
in gradle.properties, and none have worked. running my task from the command line works with the latter.
Now I have also tried Preferences > Build... > Android > Android Project Structure > JDK Location. however, whatever value I enter into the field is not saved.
d
Preferences > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM
?
k
oh lord, so many JVM options. will try this one. thanks!
confirmed this works