From 9d59bf2fb84f85613d4e60ba5bcbabf3c54d4873 Mon Sep 17 00:00:00 2001 From: Mridula Peddada Date: Fri, 8 Apr 2022 14:32:07 -0400 Subject: [PATCH] feat: relocate resource-config from java-core to gax --- .../com.google.api/gax-grpc/resource-config.json | 9 +++++++++ .../native-image/com.google.api/gax/resource-config.json | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/resource-config.json create mode 100644 gax/src/main/resources/META-INF/native-image/com.google.api/gax/resource-config.json diff --git a/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/resource-config.json b/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/resource-config.json new file mode 100644 index 000000000..08e0ea0c5 --- /dev/null +++ b/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/resource-config.json @@ -0,0 +1,9 @@ +{ + "resources":[ + {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so\\E"}, + {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E"}], + "bundles":[] +} \ No newline at end of file diff --git a/gax/src/main/resources/META-INF/native-image/com.google.api/gax/resource-config.json b/gax/src/main/resources/META-INF/native-image/com.google.api/gax/resource-config.json new file mode 100644 index 000000000..fdc788936 --- /dev/null +++ b/gax/src/main/resources/META-INF/native-image/com.google.api/gax/resource-config.json @@ -0,0 +1,6 @@ +{ + "resources":[ + {"pattern":"\\QMETA-INF/services/jdk.vm.ci.services.JVMCIServiceLocator\\E"}, + {"pattern":"\\Qdependencies.properties\\E"}], + "bundles":[] +}