paketo-buildpacks / native-image

A Cloud Native Buildpack that creates native images from Java applications
Apache License 2.0
51 stars 9 forks source link

Adds native-image-argfile plan entry to detection #210

Closed pivotal-david-osullivan closed 1 year ago

pivotal-david-osullivan commented 1 year ago

Summary

This allows an upstream buildpack to provide native-image-argfile to trigger this buildpack to provide native-image-application and participate, without the need to set BP_NATIVE_IMAGE

Use Cases

Apps can provide a native-image argument file, indicating that a native build should automatically be triggered.

Checklist

dmikusa commented 1 year ago

I tested this together with the boot change, so testing notes over on spring-boot: https://github.com/paketo-buildpacks/spring-boot/pull/279#issuecomment-1324475124

This PR looks good to me.