Expected Behavior
Toolchain resolves relative path defined under org.gradle.java.installations.paths and using them to find a matching toolchain with the defined criteria
Current Behavior (optional)
Right now when using relative paths for custom toolchain locations using org.gradle.java.installations.paths properties the following exception is thrown:
java.lang.UnsupportedOperationException: Cannot convert relative path ../jdk/jdk17/linux to an absolute file.
Context
Considering custom environments this option might be interesting known that such paths might be added under project gradle.properties being visible to VCS. This will benefit task/projects toolchain but also for the daemon toolchain.
Expected Behavior
Toolchain resolves relative path defined under
org.gradle.java.installations.pathsand using them to find a matching toolchain with the defined criteriaCurrent Behavior (optional)
Right now when using relative paths for custom toolchain locations using
org.gradle.java.installations.pathsproperties the following exception is thrown:Context
Considering custom environments this option might be interesting known that such paths might be added under project
gradle.propertiesbeing visible to VCS. This will benefit task/projects toolchain but also for the daemon toolchain.