/** * Adds the contents of a resources directory to the image. * * @param resourceFilesDirectory the directory containing the project's resources * @return this * @throws IOException if adding the layer fails */ public JavaContainerBuilder addResources(Path resourceFilesDirectory) throws IOException { return addResources(resourceFilesDirectory, path -> true); }
/** * Adds the contents of a resources directory to the image. * * @param resourceFilesDirectory the directory containing the project's resources * @return this * @throws IOException if adding the layer fails */ public JavaContainerBuilder addResources(Path resourceFilesDirectory) throws IOException { return addResources(resourceFilesDirectory, path -> true); }
/** * Adds the contents of a resources directory to the image. * * @param resourceFilesDirectory the directory containing the project's resources * @return this * @throws IOException if adding the layer fails */ public JavaContainerBuilder addResources(Path resourceFilesDirectory) throws IOException { return addResources(resourceFilesDirectory, path -> true); }