This seems like a simple thing that should have been done before, but I can't find anything. I have a Spring app (built with Maven, though I'd also like to know how to do this with Gradle) that gets run in a simple docker container:
FROM openjdk:11
COPY target/*-spring-boot.jar app.jar
CMD java -jar /app.jar
What do I need to do to enable load-time weaving with this setup?