public JavaContainerBuilder addSnapshotDependencies(Path... dependencyFiles) throws IOException {
    return addSnapshotDependencies(Arrays.asList(dependencyFiles));
  }
Adds snapshot dependency JARs to the image. Duplicate JAR filenames across all dependencies are
renamed with the filesize in order to avoid collisions.

@param dependencyFiles the list of dependency JARs to add to the image
@return this
@throws IOException if adding the layer fails
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java