Clone this repository to have Kotlin + Gradle up and running in no time!
| Tool | Version | Notes |
|---|---|---|
| Kotlin | 2.1.10 | |
| Gradle | 7.4.1 | Use the wrapper -- no need to install locally |
| SLF4J | 2.0.17 | Only the API is used at compile time -- log4j is used as the runtime logging implementation. |
| log4j | 2.24.3 |
The following instructions are for command line interaction. IntelliJ has tight integration with Gradle if you prefer the GUI.
From the project root run: ./gradlew build
From the project root run:
$ ./gradlew run
> Task :run
Hello World!
BUILD SUCCESSFUL in 0s
2 actionable tasks: 1 executed, 1 up-to-date
SLF4J provides the logging API within the code and log4j provides the logging implementation. You will find the logging configuration at src/main/resources/log4j2.properties.