public JavaContainerBuilder addResources(Path resourceFilesDirectory, Predicate<Path> pathFilter)
      throws IOException {
    classpathOrder.add(LayerType.RESOURCES);
    return addDirectory(addedResources, resourceFilesDirectory, pathFilter);
  }
Adds the contents of a resources directory to the image.

@param resourceFilesDirectory the directory containing the project's resources
@param pathFilter filter that determines which files (not directories) should be added
@return this
@throws IOException if adding the layer fails
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java