Skip to content

Commit

Permalink
Cannot find preset.json while using the docker native image
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Feb 16, 2025
1 parent 96cde7c commit 10c677c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/resources/META-INF/native-image/reflect-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"name": "tech.jhipster.lite.module.infrastructure.secondary.PersistedPresets",
"allDeclaredConstructors": true
},
{
"name": "tech.jhipster.lite.module.infrastructure.secondary.PersistedPreset",
"allDeclaredConstructors": true
}
]
7 changes: 7 additions & 0 deletions src/main/resources/META-INF/native-image/resource-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"resources": [
{
"pattern": "preset.json"
}
]
}

0 comments on commit 10c677c

Please sign in to comment.