kotlin (and kotlin-native if available) plugin for asdf version manager
- Java 6 to 8 - You may want to try asdf-java
asdf plugin-add java https://github.com/skotchpine/asdf-java
asdf plugin-add kotlin https://github.com/asdf-community/asdf-kotlin.git
Check the asdf readme for instructions on how to install & manage versions of kotlin.
Feel free to create an issue or pull request if you find a bug.
- Doesn't check if java is installed
MIT License
Note: See .travis.yml
- It tests installing a version of kotlin without kotlin native (Version 1.0.3) on mac and linux
- It tests installing a version of kotlin with kotlin native (Version 1.3.21) on mac and linux
Note: Only tests linux (Ubuntu 18.04) and takes a while since it builds on every run
cd /path/to/this/repo
docker-compose up --force-recreate
Creating asdf-kotlin-linux-test ... done
Attaching to asdf-kotlin-linux-test
asdf-kotlin-linux-test | Cloning into '/home/build/.asdf'...
...
asdf-kotlin-linux-test | % Total % Received % Xferd Average Speed Time Time Time Current
asdf-kotlin-linux-test | Dload Upload Total Spent Left Speed
100 621 0 621 0 0 1673 0 --:--:-- --:--:-- --:--:-- 1673
100 75.5M 100 75.5M 0 0 11.1M 0 0:00:06 0:00:06 --:--:-- 13.6M
asdf-kotlin-linux-test | Setting kotlin 1.0.3 as the default value in ~/.tool-versions
asdf-kotlin-linux-test | Confirming version 1.0.3
asdf-kotlin-linux-test | Kotlin version 1.0.3 (JRE 11.0.1+13)
asdf-kotlin-linux-test | Setting kotlin 1.3.21 as the default value in ~/.tool-versions
asdf-kotlin-linux-test | Confirming version 1.3.21
asdf-kotlin-linux-test | Kotlin version 1.3.21-release-158 (JRE 11.0.1+13)
asdf-kotlin-linux-test | info: kotlinc-native 1.3.21 (JRE 11.0.1+13)
asdf-kotlin-linux-test exited with code 0