When the GraaVM Native Image plugin is applied, we should apply this configuration by convention:

tasks.named('bootBuildImage') {
  builder = 'paketobuildpacks/builder:tiny'
  environment = ['BP_NATIVE_IMAGE': 'true']
}