On Windows, following two snippets behave differently. Is this an expected behavior i.e. by design? Windows is case insensitive OS and so I would expect gradle to account for that and handle it gracefully.
source.from project.fileTree(dir: 'src', include: 'abc.cpp') // Notice the file name is all lowercase
source.from project.fileTree(dir: 'src', include: 'Abc.cpp') // Notice that the file is Pascal case
The file on disk is named ‘Abc.cpp’. In the former case, the file isn’t picked up and is not part of the source set but it is in the latter case.