Just to confirm my grep-foo isn't bad. Is there a GtiHub issue describing a feature request to have transitive 3rdparty deps as targets?
https://github.com/pantsbuild/pants/issues/13283 is related, but not quite the same.
I have a comment of a very real-world use-case that this would be a must-have for
✅ 1
I just found out one of our transitive deps uses GPL, but we only use it for tests.
So either we yank it out because ❗danger, or a ENFORCE (via visibility rules) nothing we ship depends on it.