add profile native

This commit is contained in:
dingz 2023-10-27 15:08:13 +08:00
parent ffc3b0c792
commit 4da7049cb5
1 changed files with 2 additions and 4 deletions

View File

@ -128,8 +128,7 @@
<builder>paketobuildpacks/builder-jammy-tiny</builder>
<buildpacks>
<buildpack>gcr.io/paketo-buildpacks/graalvm</buildpack>
<buildpack>
gcr.io/paketo-buildpacks/java-native-image</buildpack>
<buildpack>gcr.io/paketo-buildpacks/java-native-image</buildpack>
</buildpacks>
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
@ -151,8 +150,7 @@
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<classesDirectory>
${project.build.outputDirectory}</classesDirectory>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<metadataRepository>
<enabled>true</enabled>
</metadataRepository>