This is a project with sample code that I created while I was learning Kotlin. They are based on the samples from Kotlin in Action book and from the try.kotlinlang.org website.
- This project was created using Jetbrains Idea as a Gradle and Kotlin project
(more info).
- When you import this project into Idea as a Gradle project, make sure not to check "Offline work" (which if checked, won't allow the gradle dependencies to be downloaded).
- As of Jun 24 2018, Java 10 doesn't work w/ this gradle distribution, so you can use Java 8.
The gradle wrapper can get out of date pretty quickly for this project, so its best to update it to
the latest release whenever you need to. This
SO answer shows how to do this from the command
line. Here's the gist of it (just insert the latest-gradle-version
prior to runing the following
command in your terminal.
./gradlew wrapper --gradle-version <latest-gradle-version> --distribution-type all