Skip to content
/ graal-utility Public template

The cross-platform native command line tool template.

License

Notifications You must be signed in to change notification settings

demidko/graal-utility

Repository files navigation

graal-utility

The cross-platform native Kotlin command line tool template.

Building jar file

You will need Java 21 or higher. To build the utility, run the command:

./gradlew clean installDist

You can also build the utility into native executable file or Docker image.

Building native executable file

You will need GraalVM 21 and native-image pre-installed:

./gradlew clean nativeCompile

Also, native files (macOS, Linux, Windows) will be auto generated by GitHub CI.

The executable file will be located at ./build/native/nativeCompile/

Building Docker image with jvm

docker build . -t jvm-app-image

Building Docker image with native code

docker build . -f graal.Dockerfile -t native-app-image

or

docker build --platform linux/amd64 . -f graal.Dockerfile -t native-app-image

About

The cross-platform native command line tool template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published