Add support for publishing plugins to pants.

Reviewed at https://rbcommons.com/s/twitter/r/1021