Skip to content

Commit

Permalink
Add support for native-image with embedded resource-config.json
Browse files Browse the repository at this point in the history
This is for native-image build where src/main/resources includes
application.properties | application.yaml (to set default configuration).
  • Loading branch information
rob-bygrave committed Oct 17, 2023
1 parent 034fa74 commit e9ddede
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
spaces_around_operators = true

[*.json]
indent_size = 0
indent_style = tab
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"resources": [
{
"pattern": "application.properties"
},
{
"pattern": "application.yaml"
},
{
"pattern": "application.yml"
}
]
}

0 comments on commit e9ddede

Please sign in to comment.