As described in this guide I am using ./gradlew buildNativeLambda
command to generate zip file containing graalvm native image. I am facing a problem described in this thread so wanted to include resource by passing -H:IncludeResources
to my command like below:
./gradlew buildNativeLambda -H:IncludeResources="com/amazonaws/partitions/endpoints.json"
Unfortunately, its failing with Unknown command-line option '-H'
. How can I pass this to gradle task?