https://pantsbuild.org/ logo
#general
Title
# general
j

jolly-chef-92794

03/24/2016, 6:41 PM
How would people feel about a change to modify
jar_publish.py
to delegate a bit more control to the targets it is publishing? What if instead of hard-coding the the default, source, and doc jars, the
ExportableJvmLibrary
class had a method to return a list of something like
ExportableArtifacts
which looked like:
Copy code
class ExportableArtifact(object):
  @property
  def coordinate(self):
    “””M2 Coordinate”””

  def write_artifact(self, path):
    “””Write the artifact to the given path.””"