Dependency, FileCollectionDependency should have a getFullPath() to return path of of file dependency

I am trying to determine if my build has a local FileCollectionDependency and fail the build if it does with the full path of the dependency. Using the Configuration.getAllDependencies() I am iterating over only the FileCollectionDependency but FileCollectionDependency does not have a getFullPath() to return path of of file dependency. The Dependency’s getName(), getVersion() return null.

As the name suggests, a FileCollectionDependency may represent a collection of files (eg fileTree(…)).

You can call resolve() to get the set of underlying files. You can then invoke getName() or getAbsolutePath() etc on each.

thank you, that works.