From 4dd5648815e825cab654f91a539107faa0a6ab2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=8C=AF=E6=98=8A?= Date: Wed, 24 Sep 2025 21:57:12 +0800 Subject: [PATCH] Add GraalVM native image metadata --- .../aliyun-sdk-oss/resource-config.json | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main/resources/META-INF/native-image/com.aliyun.oss/aliyun-sdk-oss/resource-config.json diff --git a/src/main/resources/META-INF/native-image/com.aliyun.oss/aliyun-sdk-oss/resource-config.json b/src/main/resources/META-INF/native-image/com.aliyun.oss/aliyun-sdk-oss/resource-config.json new file mode 100644 index 00000000..c06dbca2 --- /dev/null +++ b/src/main/resources/META-INF/native-image/com.aliyun.oss/aliyun-sdk-oss/resource-config.json @@ -0,0 +1,38 @@ +{ + "resources": + { + "includes": + [ + { + "condition": + { + "typeReachable": "com.aliyun.oss.OSS" + }, + "pattern": "\\Qoss.mime.types\\E" + }, + { + "condition": + { + "typeReachable": "com.aliyun.oss.OSS" + }, + "pattern": "\\Qoss.properties\\E" + }, + { + "condition": + { + "typeReachable": "com.aliyun.oss.OSS" + }, + "pattern": "\\Qversioninfo.properties\\E" + } + ] + }, + "bundles": + [ + { + "name": "common" + }, + { + "name": "oss" + } + ] +} \ No newline at end of file