This PR is related to what was discussed in issue #35179. This code renames the spring-boot.run.directories property into spring-boot.run.additionalClasspathElements.

Furthermore, it changes the code that appends the property's value to the classpath. Currently, the value goes through multiple conversions from String to File, URI and URL. This version only converts the string into a Path to treat non-absolute paths. However, it was commented that this may change as it is desirable to only append the string without any processing.

Comment From: snicoll

@rafaelrc7 thanks for the PR but, unfortunately, the change is more involved, please see https://github.com/spring-projects/spring-boot/issues/35179. for more details.