Add AOT support for redis repositories.

We now use the AOT infrastructure of Spring Framework 6 and data commons to provide AOT support building the foundation for native image compilation.
Additionally we register hints for GraalVM native image.

See: #2350
This commit is contained in:
Christoph Strobl
2022-06-24 14:11:46 +02:00
parent 8c4052329f
commit 47c1ff54dd
3 changed files with 158 additions and 18 deletions

View File

@@ -0,0 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.data.redis.aot.DataRedisRuntimeHints