mike-neck / graalvm-native-image-plugin

A Gradle plugin which creates a native executable via GraalVM's native-image. This is a thin wrapper of the native-image command.
Apache License 2.0
89 stars 14 forks source link

Reproduce and fix 175 #178

Open KengoTODA opened 2 years ago

KengoTODA commented 2 years ago

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.