Referencing files in parent directory

I have c++ project which contains some cpp files in the subdirectories of parent directory. The parent directory already have build.gradle. For some reason, as soon as gradle sees “…” in path it disregards that file. Please, advise.