Only consider direct dependencies for determining project dependencies.