public JavaContainerBuilder addToClasspath(Path... otherFiles) throws IOException {
    return addToClasspath(Arrays.asList(otherFiles));
  }
Adds additional files to the classpath. If {@code otherFiles} contains a directory, the files
within are added recursively, maintaining the directory structure. For files in {@code
otherFiles}, files with duplicate filenames will be overwritten (e.g. if {@code otherFiles}
contains '/loser/messages.txt' and '/winner/messages.txt', only the second 'messages.txt' is
added.

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