private static Path getResource(String directory) throws URISyntaxException {
    return Paths.get(Resources.getResource(directory).toURI());
  }
Gets a resource file as a {@link Path}.
jib-core/src/test/java/com/google/cloud/tools/jib/api/JavaContainerBuilderTest.java