I can\'t figure out to get this working.
Scenario:
What I w
If you are using Kotlin DSL, then in build.gradle.kts
add:
tasks.withType {
options.isFork = true
options.forkOptions.javaHome = File("C:\\bin\\jdk-13.0.1\\")
}
Of course, I'm assuming that you have Windows OS and javac
compiler is in path C:\bin\jdk-13.0.1\bin\javac
. For Linux OS will be similarly.