forDependency

Add shading rules that apply to a dependency with a particular group, name, and version. Only this version of this artifact group and name will inherit these rules.

Dependencies are evaluated as per DependencyHandler.create.