Skip to content

Commit

Permalink
Add export common reflect config to fix native image compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Jan 10, 2024
1 parent 69d113b commit 7017cc8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
# TODO(jack-berg): Which versions do we need to test? Should we use a matrix scheme?
java-version: '21'
distribution: 'graalvm'
components: 'native-image'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"name":"io.opentelemetry.sdk.common.export.AutoValue_RetryPolicy",
"queryAllDeclaredMethods":true
},
{
"name":"io.opentelemetry.sdk.common.export.RetryPolicy",
"queryAllDeclaredMethods":true
}
]

0 comments on commit 7017cc8

Please sign in to comment.