demidko / cooperative-multitasking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utility

The cross-platform native Kotlin command line tool template.

Usage

Make sure you are signed in to your GitHub account, then just click here to use template.

Download

GitHub CI automatically generates versions of the application for different operating systems. See the Actions Tab.

Build

You can build the utility yourself from the source code. We need GCC or LLVM or Visual Studio toolchain. If you are using Windows, you need to configure windowsVsVarsPath property.

./gradlew clean build

After that, we can run the release app:

./build/graal/utility

Containerization

To build the image, we need Docker installed:

docker build . -t utility

After that, we can run the app in the container (if needed):

docker run -v `pwd`:`pwd` -w `pwd` -it --rm -p 80:80 utility

To clean up Docker use docker system prune -fa

Interop with Java

By default, you can use any java class or library in this project.

About

License:MIT License


Languages

Language:Kotlin 81.2%Language:Dockerfile 18.8%