minimal project to reproduce issue with @RefreshScope running on AOT
Steps to produce:
- Build jar file:
./gradlew assemble
- Run the spring boot jar in AOT mode:
java -Dspring.aot.enabled=true -jar build/libs/refresh-scope-native-0.0.1-SNAPSHOT.jar
- Hit the following URL:
curl http://localhost:8080