From 282568f5abe188aeebd04b0c8714d2e7f0f77762 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 28 Oct 2020 14:06:44 +0100 Subject: [PATCH] Make sure to include the jansi.properties file in native mode, use regex for libs --- .../native-image/jansi/resource-config.json | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/main/resources/META-INF/native-image/jansi/resource-config.json b/src/main/resources/META-INF/native-image/jansi/resource-config.json index 2c5a386b..d2c02350 100644 --- a/src/main/resources/META-INF/native-image/jansi/resource-config.json +++ b/src/main/resources/META-INF/native-image/jansi/resource-config.json @@ -1,16 +1,6 @@ { "resources": [ - {"pattern": "org/fusesource/jansi/internal/native/FreeBSD/x86/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/FreeBSD/x86_64/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/arm/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/arm64/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/armv7/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/ppc64/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/x86/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Linux/x86_64/libjansi.so"}, - {"pattern": "org/fusesource/jansi/internal/native/Mac/x86/libjansi.jnilib"}, - {"pattern": "org/fusesource/jansi/internal/native/Mac/x86_64/libjansi.jnilib"}, - {"pattern": "org/fusesource/jansi/internal/native/Windows/x86/jansi.dll"}, - {"pattern": "org/fusesource/jansi/internal/native/Windows/x86_64/jansi.dll"} + {"pattern": "org/fusesource/jansi/jansi.properties"}, + {"pattern": "org/fusesource/jansi/internal/native/.*"} ] } \ No newline at end of file