This is a very simple change for avoiding a warning repeated for 1570 times.
When JavaFX is built with `--info` gradle option, (`gradle --info` .... ). 1570 warnings are printed, like the one below here: Cannot infer source root(s) for source `file '/Users/runner/work/jfx/jfx/jfx/modules/javafx.graphics/src/main/java/javafx/css/Size.java'`. Supported types are `File` (directories only), `DirectoryTree` and `SourceDirectorySet`. **Fix**: is to change how the source directories are specified for graphics module. **Verification**: 0 warnings of above type. The build artifacts are exact same as before, and sanity testing is all good. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - change how source property is specified Changes: https://git.openjdk.org/jfx/pull/2216/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2216&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8360587 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jfx/pull/2216.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2216/head:pull/2216 PR: https://git.openjdk.org/jfx/pull/2216
