Skip to content
Examples of Kotlin Scripts and usages of the Kotlin Scripting API
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
jvm Fix copyright Feb 18, 2020
license Add license Feb 7, 2020
.gitignore Add link to the main-kts examples Feb 18, 2020
gradlew.bat Add gradle wrapper Feb 7, 2020

Kotlin scripting examples

This repository contains example projects and individual scripts, as well as links to the external examples demonstrating Kotlin Scripting functionality and API usage.

If you know good examples of the Kotlin scripting API usage, not mentioned here, please submit an issue or a pull request with the link and short description.

Examples in this repository

The complete project could be compiled with Gradle, as well as imported e.g. in IntelliJ IDEA.

The individual example projects are mostly independent and could be copied and reused independently, but build files should be adopted accordingly, mostly to supply required Kotlin version properties and setup inter-project dependencies when needed

Script definitions with scripting hosts

External examples



The Apache 2 license (given in full in LICENSE.txt applies to all code in this repository which is copyright by JetBrains.

You can’t perform that action at this time.