Commit c618757
committed
fix(native): include build.properties in native image via resource-config.json
The unified reachability-metadata.json resources globs are not reliably
processed by GraalVM 21 native-image when scanning classpath JARs.
Replace with a classic resource-config.json at the recommended
META-INF/native-image/{groupId}/{artifactId}/ path, which native-image
has always picked up automatically. Fixes version showing as 'dev'
in the native binary --help banner.1 parent dffb0b7 commit c618757
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- src/main/resources/META-INF/native-image
- com.qtsurfer/mcp-java
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
0 commit comments