Ktor¶
Ktor is a Kotlin framework for building asynchronous server-side and client-side applications.
To enable Ktor support, add the following to the module.yaml file:
settings:
ktor: enabled
Setting ktor: enabled performs the following actions:
- Applies Ktor BOM
- Contributes Ktor-related entries to a built-in library catalog
- Adds the
io.ktor.development=truesystem property when running the app withamper run
Examples of Ktor projects:
You can also customize the version of the Ktor libraries using the full form of the configuration:
settings:
ktor:
enabled: true
version: 3.3.2
If you don't want the Ktor BOM to be applied, you can disable it explicitly:
settings:
ktor:
enabled: true
applyBom: false