Use the same logic to traverse the partial dependency graph to calculate the build dependencies of an artifact transform and to traverse the resolved graph to calculate the artifact dependencies to inject into the transform. Remove the deprecation warning suppression as it is no longer required.