forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability for extensions to exclude GraalVM config from jars
Resolves: quarkusio#17482
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...ent/src/main/java/io/quarkus/deployment/builditem/nativeimage/ExcludeConfigBuildItem.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package io.quarkus.deployment.builditem.nativeimage; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* A build item that allows extension to configure the native-image compiler to effectively | ||
* ignore certain configuration files by specifying a value that determines the name of the excluded | ||
* configuration files in specific jars. | ||
* See https://github.com/oracle/graal/pull/3179 for more details. | ||
*/ | ||
public final class ExcludeConfigBuildItem extends MultiBuildItem { | ||
|
||
private final String value; | ||
|
||
public ExcludeConfigBuildItem(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
} |
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