A series of code snippets written in Kotlin. This is used as a learning tool into the Kotlin programming language.
Simply clone the repository and run any code snippet. All the code snippets, or 90% that count have tests backing them. The structure of the tests directory directly matches the structure of the app directory, which houses all the code snippets.
$ git clone /~https://github.com/BrianLusina/KotlinGround.git
$ cd KotlinGround
$ ./gradlew test
It is preferrable that you run tests and any other task with the Gradle Wrapper, as this will ensure you are using the correct version of gradle.
Kotlin Compiler and gradle are the main pre-requisites you will need when using this repository. Downloading them is easy using sdkman. Follow the instructions to get a copy of sdkman and then install kotlin and gradle as follows:
$ sdk install kotlin
...
$ sdk install gradle
Enjoy!