I have a multi-platform build. I am specifying org.gradle.java.installations.paths=C:/JDK11,C:/JDK17,/opt/java/jdk11,/opt/java/jdk17 in gradle.properties.
Works like a charm both on the Linux and Windows machines. But it always logs “Directory … used for java installations does not exist” for the paths for the other operating system.
Somebody has an idea how to avoid the messsages? For example specify different properties for Windows and Linux somehow?
Kind regards, Matthias Kraaz