Affected version
2.0.13
Bug description
Up until 2.0.11 when resolving only the direct dependencies you would use the following request:
new DependencyRequest(cr2, (_, b) -> b.size() <= 1)
As of 2.0.13 this has changed, because the path now has 2 elements: itself and null. To make it work, you need to use this:
new DependencyRequest(cr2, (_, b) -> b.size() <= 2)
I assume this is a regression.