Package play framework using jlink?

Is there a way to build play framework using jlink to make custom minimal jre?

Googling showed this thread

Do playframework maintainers have plans to make jlink work?

Thanks, Lightbend for the help. Had to figure out everything for myself.
Here is the result of my experiment. Play framework with custom JRE, build using jlink and docker image by sbt-native-packager.