Ktor is an OpenSource project hosted at GitHub: https://github.com/ktorio/ktor
Release versions are available at maven central.
We usually provide nightly builds at jetbrains.space: https://ktor.io/eap
Downloading the source
You can get the latest version of Ktor using git to clone Ktor's repository:
Ktor uses gradle for building. It should work with any gradle version greater than 4.3, but for best results we provide a gradle wrapper, which should work with any supported system with a JDK installed:
Ktor provides a gradle install task that installs Ktor artifacts in your local maven repository:
If you get an error similar to:
You might have forgotten to use the gradle wrapper (
./gradlew ), or your default installed gradle version is lower than 4.3.
Always use the gradle wrapper for consistent results!