Skip to content

Commit

Permalink
Add native-source package type
Browse files Browse the repository at this point in the history
This package type is meant to support workflows where the actual native-image is created by a different
container than the one that run that Quarkus build.

Resolves: #15208
  • Loading branch information
geoand committed Feb 22, 2021
1 parent 0c3d785 commit a5f3839
Show file tree
Hide file tree
Showing 5 changed files with 380 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ public class PackageConfig {
public static final String LEGACY = "legacy";
public static final String LEGACY_JAR = "legacy-jar";
public static final String NATIVE = "native";
// does everything 'native' but stops short of actually executing the 'native-image' command
public static final String NATIVE_SOURCES = "native-sources";

/**
* The requested output type.
* <p>
* The default built in types are 'jar' (which will use 'fast-jar'), 'legacy-jar' for the pre-1.12 default jar
* packaging, 'uber-jar' and 'native'.
* packaging, 'uber-jar', 'native' and 'native-sources'.
*/
@ConfigItem(defaultValue = JAR)
public String type;
Expand Down
Loading

0 comments on commit a5f3839

Please sign in to comment.