adambard / lein-kotlinc

Compile kotlin files from Leiningen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlinc

Compile Kotlin files in your Leiningen project

This is very alpha; use at your own risk.

Usage

First, add lein-kotlinc to your :plugins setting in project.clj:

:plugins [[lein-kotlinc "0.1.0"]]

Then, set your :kotlin-source-path settings:

:kotlin-source-path "src/kt"

Finally, if you want to actually run any Kotlin code, include kotlin-runtime as a dependency:

[org.jetbrains.kotlin/kotlin-runtime "0.8.679"]

Then, you can compile your kotlin files any time, using lein kotlinc

$ lein kotlinc

License

Copyright © 2014 Adam Bard (adambard.com)

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Compile kotlin files from Leiningen

License:Eclipse Public License 1.0


Languages

Language:Clojure 100.0%