Building Ktor From Source
Release versions are available at both jcenter and maven central.
We usually provide binary version previews at bintray:https://bintray.com/kotlin/ktor/ktor
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 versiongreater than 4.3, but for best results we provide a gradle wrapper,which should work with any supported system with a JDK installed:
If you get an error similar to:
You might have forgotten to use the gradle wrapper (), or your default installedgradle version is lower than 4.3.