Sbt: How to package native images?

I have been using sbt-native-packager to provide universal and Debian packages. Recently I played with the GraalVM native image plugin and actually managed to build a working binary. The next step would be to provide additional packages containing the binary instead of the jars. Has this been done before? The sbt-native-packager’s documentation does not explain how to combine the methods.

2 Likes