Skip to content

Commit

Permalink
Simplify Helidon configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mraible committed Jan 12, 2024
1 parent f21dcf3 commit 0138dac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 2 additions & 5 deletions demo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,11 @@ mp.jwt.verify.publickey.location=${mp.jwt.verify.issuer}.well-known/jwks.json

=== Build a native Helidon app with GraalVM

. Update `src/main/resources/META-INF/native-image/com.okta.rest/helidon/native-image.properties` so native compilation will work with Java 21.
. Update `src/main/resources/META-INF/native-image/com/okta/rest/helidon/native-image.properties` so native compilation will work with Java 21.
+
[source,properties]
----
Args=--initialize-at-build-time=com.okta.rest \
--initialize-at-run-time=io.helidon.openapi.ExpandedTypeDescription \
--report-unsupported-elements-at-runtime \
-H:+AddAllCharsets
Args=--initialize-at-build-time=com.okta.rest -H:+AddAllCharsets
----

. Compile your Helidon app into a native executable using the `native-image` profile:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
Args=--initialize-at-build-time=com.okta.rest \
--initialize-at-run-time=io.helidon.openapi.ExpandedTypeDescription \
--report-unsupported-elements-at-runtime \
-H:+AddAllCharsets
Args=--initialize-at-build-time=com.okta.rest -H:+AddAllCharsets

0 comments on commit 0138dac

Please sign in to comment.