Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit c7c0432

Browse files
author
Dave Syer
committed
Add build time init hint
1 parent 45f869e commit c7c0432

File tree

1 file changed

+1
-0
lines changed
  • spring-graalvm-native-samples/cloud-function-netty-fun

1 file changed

+1
-0
lines changed

spring-graalvm-native-samples/cloud-function-netty-fun/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<BP_BOOT_NATIVE_IMAGE>true</BP_BOOT_NATIVE_IMAGE>
6161
<BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS>
6262
-Dspring.native.remove-yaml-support=true
63+
--initialize-at-build-time=org.springframework.cloud.function.web.function.FunctionEndpointInitializer
6364
</BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS>
6465
</env>
6566
</image>

0 commit comments

Comments
 (0)