Setting Up Kotlin
For your first taste of Kotlin, you can try the online REPL site.[72] It contains many examples and exercises to help you learn the language.
The easiest way to use Kotlin is with the IntelliJ IDE. You can download the free Community version at the JetBrains site.[73] To set up your Kotlin working environment, you can follow the instruction on their Get Started page.[74] If you prefer Eclipse as your IDE, there is a plugin for Kotlin.[75] It’s possible to also use Kotlin with other Java IDEs or editors (Emacs, VScode, and so on) and also compile it from the command line, but that’s outside the scope of this book.
This book uses the latest Kotlin version, which in February 2023 is Kotlin 1.8.0.
Gradle
We’re using Gradle as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access