Skip to content

Commit

Permalink
Fix support for GraalVM native-image, fixes #199
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 13, 2021
1 parent d83ab13 commit 2cf4461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public static int getMinorVersion() {
*/
public static String getVersion() {

URL versionFile = JansiLoader.class.getResource("/META-INF/maven/org.fusesource.jansi/jansi/pom.properties");
URL versionFile = JansiLoader.class.getResource("/org/fusesource/jansi/jansi.properties");

String version = "unknown";
try {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"resources": [
{"pattern": "org/fusesource/jansi/jansi.properties"},
{"pattern": "org/fusesource/jansi/jansi.txt"},
{"pattern": "org/fusesource/jansi/internal/native/.*"}
]
}

0 comments on commit 2cf4461

Please sign in to comment.