prints nicely all dependencies - and importantly all transitive deps as well -. Only the objects in the closure are of type File
I want to some similar but get an hold on all dependencies as Depedency object as well.
What I would like to do is to retrieve all dependencies (including transitive deps). Then I want 1) have an easy API to get the name of the dep (e.g. without version) 2) have access to the file handler itself
I don’t see how I can get what I want from ResolvedConfiguration as you mentioned. That class only provides api to get direct dependencies (via getFirstLevelModuleDependencies()) and not transitive dependencies.