public void addArtifactsFrom(ExternalLibraryDependency dependency) {
    addIfNotNull(files, dependency.getFile());
    addIfNotNull(sources, dependency.getSource());
    addIfNotNull(javadocs, dependency.getJavadoc());
  }
public void addArtifactsFrom(ExternalLibraryDependency dependency)