/scala-native-cli.g8

Giter8 template for Scala + GraalVM native CLI apps

Primary LanguageScala

Giter8 template for Scala + GraalVM native CLI apps

This giter8 template is made allows to build a Scala CLI application which can be translated to a native image by GraalVM.

How to use

Create your project by sbt new specifying this template:

$ sbt new takezoe/scala-native-cli.g8

To generate a native image, run the following command at the root directory of the created project.

$ sbt nativeImage

The native image is generated in target/native-image directory.

Libraries

This template includes the following libraries useful to create typical CLI tools and can be translated to a standalone native image.

Let me know if you know other useful libraries which are worth to include in this template by raising an issue or pull request ;-)