Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/aot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
target/graalvm-native-image/jelly-cli \
rdf from-jelly --out-format=jelly-text out.jelly > out.txt && \
[ -s out.txt ]
target/graalvm-native-image/jelly-cli \
rdf from-jelly --out-format=jsonld out.jelly > out.json && \
[ -s out.json ]

- name: Upload binary
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lazy val graalOptions = Seq(
if (isDevBuild) Seq("-Ob") else Seq("-Os", "--emit build-report"),
).flatten ++ Seq(
"--features=eu.neverblink.jelly.cli.graal.ProtobufFeature",
"-H:ReflectionConfigurationFiles=" + file("graal.json").getAbsolutePath,
)

lazy val root = (project in file("."))
Expand Down
12 changes: 12 additions & 0 deletions graal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"name": "org.glassfish.json.JsonProviderImpl",
"methods": [
{ "name": "<init>", "parameterTypes": [] }
],
"allDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredMethods": true,
"allPublicMethods": true
}
]