feat: add GraalVM support by klopfdreh · Pull Request #590 · xerial/snappy-java
This PR adds GraalVM support to snappy-java
Documentation references:
- Accessing Resources in Native Image: https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Resources/
- Native Image Build Configuration: https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildConfiguration/
- Example implementation - AWS CRT: GraalVM support with testing awslabs/aws-crt-java#749
I added the files to this specific folder as it is going to be picked up by GraalVM automatically so you don't have to use -H:ResourceConfigurationResources - see the last comments of the "Example implementation" and the link of "Native image Build Configuration"
There are no native-image.properties required.
Fixes: #429