@Override
  public List<FileEntriesLayer> createLayers() {
    FileEntriesLayer jarLayer =
        FileEntriesLayer.builder()
            .setName(JarLayers.JAR)
            .addEntry(jarPath, JarLayers.APP_ROOT.resolve(jarPath.getFileName()))
            .build();
    return Collections.singletonList(jarLayer);
  }
Constructor for {@link SpringBootPackagedProcessor}.

@param jarPath path to jar file
@param jarJavaVersion jar java version
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/SpringBootPackagedProcessor.java