$ native-image --help
GraalVM native-image building tool
This tool can be used to generate an image that contains ahead-of-time compiled Java code.
To allow native-image users and library vendors to add native-image configuration data to their projects/libraries
GraalVM native-image supports adding native-image configuration files into resource location META-INF/native-image
.
This is described in detail in https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildConfiguration.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import fileinput | |
import re | |
import sys | |
from pathlib import Path | |
from urllib.parse import urlparse, urlunparse | |
parser = argparse.ArgumentParser(description='Make relative links in markup file absolute with given base-url.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>org.graalvm.sdk</groupId> | |
<artifactId>org.graalvm.sdk</artifactId> | |
<version>1.0.0-rc14</version> | |
<scope>provided</scope> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.oracle.substratevm</groupId> | |
<artifactId>svm</artifactId> | |
<version>1.0.0-rc14</version> | |
<scope>provided</scope> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImageName = netty-plot | |
Args = --features=com.oracle.svm.nettyplot.PlotterSingletonFeature -H:+SpawnIsolates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImageName = netty-plot | |
Args = --features=com.oracle.svm.nettyplot.PlotterSingletonFeature \ | |
-H:ReflectionConfigurationResources=${.}/reflection-config.json \ | |
--delay-class-initialization-to-runtime=io.netty.handler.codec.http.HttpObjectEncoder \ | |
-H:+SpawnIsolates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.oracle.substratevm</groupId> | |
<artifactId>native-image-maven-plugin</artifactId> | |
<version>1.0.0-rc15</version> | |
... | |
</plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration> | |
<mainClass>com.acme.MeepMeep</mainClass> | |
<buildArgs>-ea</buildArgs> | |
</configuration> |
NewerOlder