Thanks for sharing your great Gradle plugin, it helped me a lot to challenge native-image!
By this PR I want to suggest a fix for #175. Refer to this workflow run to confirm that the test case surely reproduces the reported issue.
Note that this fix expects that the Gradle project always have only one NativeImageTask type task, to refer a property (buildType) of NativeImageTask from GenerateNativeImageConfigTask.
Thanks for sharing your great Gradle plugin, it helped me a lot to challenge
native-image
!By this PR I want to suggest a fix for #175. Refer to this workflow run to confirm that the test case surely reproduces the reported issue. Note that this fix expects that the Gradle project always have only one
NativeImageTask
type task, to refer a property (buildType) ofNativeImageTask
fromGenerateNativeImageConfigTask
.