Sebastian Schuberth
03/14/2024, 7:48 PMThe Tooling API always uses the Gradle daemon.and
The JVM running the Tooling API client and the one running the daemon can be different.but it does not tell me how I can use a different JVM for the daemon than the JVM that runs my TAPI client. Any hints?
Anze Sodja
03/14/2024, 7:52 PMAnze Sodja
03/14/2024, 7:52 PM//in case you want the build to use java different than default:
build.setJavaHome(new File("/path/to/java"));
Sebastian Schuberth
03/14/2024, 7:53 PMModelBuilder
only, but it also implements https://docs.gradle.org/current/javadoc/org/gradle/tooling/ConfigurableLauncher.html#setJavaHome-java.io.File-