-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BouncyCastle providers to generated AutoFeature
- Loading branch information
1 parent
36351d4
commit 39d3923
Showing
8 changed files
with
156 additions
and
14 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...yment/src/main/java/io/quarkus/deployment/builditem/nativeimage/AutoFeatureAugmentor.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,7 @@ | ||
package io.quarkus.deployment.builditem.nativeimage; | ||
|
||
import io.quarkus.gizmo.TryBlock; | ||
|
||
public interface AutoFeatureAugmentor { | ||
void augment(TryBlock overallCatch); | ||
} |
19 changes: 19 additions & 0 deletions
19
...io/quarkus/deployment/builditem/nativeimage/NativeImageAutoFeatureAugmentorBuildItem.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,19 @@ | ||
package io.quarkus.deployment.builditem.nativeimage; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
import io.quarkus.gizmo.TryBlock; | ||
|
||
/** | ||
* A build item that can be used to augment the generated AutoFeature | ||
*/ | ||
public final class NativeImageAutoFeatureAugmentorBuildItem extends MultiBuildItem { | ||
AutoFeatureAugmentor autoFeatureAugmentor; | ||
|
||
public NativeImageAutoFeatureAugmentorBuildItem(AutoFeatureAugmentor autoFeatureAugmentor) { | ||
this.autoFeatureAugmentor = autoFeatureAugmentor; | ||
} | ||
|
||
public void augment(TryBlock overallCatch) { | ||
autoFeatureAugmentor.augment(overallCatch); | ||
} | ||
} |
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
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
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
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
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
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