KotlinW

A small wrapper for the Kotlin compiler that can be used to execute .kts scripts inspired by gradlew and similar wrappers that download the actual binaries. More information regarding .kts scripts can be found here.

Build instructions

Call gradlew build. This will generate a minified jar with all dependencies and a launch script for Windows. Contributions for a Linux launch script are welcome.

Usage

After building the minified jar, on Windows use the launch script and call kotlinw myScript.kts. On any other platform, call java -jar kotlinw-minified-1.0-SNAPSHOT.jar myScript.kts. This will download the latest version of the Kotlin compiler and the stdlib and will execute your script.

Related Libraries

kotlin-argparser

Easy to use and concise yet powerful and robust command line argument parsing for Kotlin

Last updated 3 mins ago

repoverse-kotlin

Java/Kotlin library to check against Maven for the latest version of your package

Last updated 3 mins ago

solid-kotlin-analytics

SOLID Analytics Interface for Android, written in Kotlin

Last updated 3 mins ago

ktlint

An anti-bikeshedding Kotlin linter with built-in formatter

Last updated 3 mins ago

ts2kt

Converter of TypeScript definition files to Kotlin external declarations

Last updated 3 mins ago