spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/PaketoBuilderTests-nativeApp.gradle has this snippet:
'Spring-Boot-Native-Processed': 'true' shouldn't be necessary, because it is set by our NativeImagePluginAction. However, for reasons unclear to me, the NativeImagePluginAction isn't executed in this build, despite the NBT plugin in the plugins section.
When removing the .withPluginClasspath call in org.springframework.boot.testsupport.gradle.testkit.GradleBuild#prepareRunner, it works. No idea if that is a red herring or not.
spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/PaketoBuilderTests-nativeApp.gradle
has this snippet:'Spring-Boot-Native-Processed': 'true'
shouldn't be necessary, because it is set by ourNativeImagePluginAction
. However, for reasons unclear to me, theNativeImagePluginAction
isn't executed in this build, despite the NBT plugin in the plugins section.When removing the
.withPluginClasspath
call inorg.springframework.boot.testsupport.gradle.testkit.GradleBuild#prepareRunner
, it works. No idea if that is a red herring or not.