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

Commit 5bc098f

Browse files
committed
lighter weight actuator options in samples
1 parent 776d130 commit 5bc098f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spring-graalvm-native-samples/actuator-webflux/compile.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ echo "Compiling $ARTIFACT with $GRAALVM_VERSION"
2929
--verbose \
3030
-H:Name=$ARTIFACT \
3131
-Dspring.spel.ignore=true \
32+
-Dspring.native.build-time-properties-checks=default-include-all \
33+
-Dspring.native.factories.no-actuator-metrics=true \
3234
-Dspring.native.remove-yaml-support=true \
3335
-cp $CP $MAINCLASS >> output.txt ; } 2>> output.txt
3436

35-
# -Dspring.native.verbose=true \
3637
if [[ -f $ARTIFACT ]]
3738
then
3839
printf "${GREEN}SUCCESS${NC}\n"

spring-graalvm-native-samples/actuator-webmvc/compile.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ echo "Compiling $ARTIFACT with $GRAALVM_VERSION"
2828
{ time native-image \
2929
--verbose \
3030
-H:Name=$ARTIFACT \
31-
-Dspring.native.evaluate-cop=true \
31+
-Dspring.native.build-time-properties-checks=default-include-all \
32+
-Dspring.native.factories.no-actuator-metrics=true \
3233
-cp $CP $MAINCLASS >> output.txt ; } 2>> output.txt
3334

3435
if [[ -f $ARTIFACT ]]

0 commit comments

Comments
 (0)