Skip to content

Commit f938827

Browse files
authored
add explicit bundles for native-build (#370)
1 parent fbe456b commit f938827

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci_scripts/make_native_artifact.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ mkdir templates/
1616
cp ../src/scala/com/github/johnynek/bazel_deps/templates/* templates/
1717
cp ../bazel-deps.jar .
1818
cp ../ci_scripts/reflection.json .
19+
cp ../ci_scripts/resource-config.json .
1920

2021
native-image -H:+ReportUnsupportedElementsAtRuntime \
2122
--initialize-at-build-time \
@@ -26,6 +27,7 @@ native-image -H:+ReportUnsupportedElementsAtRuntime \
2627
-H:EnableURLProtocols=http,https \
2728
--enable-all-security-services \
2829
-H:ReflectionConfigurationFiles=reflection.json \
30+
-H:ResourceConfigurationFiles=resource-config.json \
2931
--allow-incomplete-classpath \
3032
-H:+ReportExceptionStackTraces \
3133
--no-fallback \

ci_scripts/resource-config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"resources": [],
3+
"bundles": [
4+
{"name":"com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"}
5+
]
6+
}

0 commit comments

Comments
 (0)