Does anyone know, how to publish a custom ktor fe...
# ktor
b
Does anyone know, how to publish a custom ktor feature?
c
There’s a page in the docs for creating custom Features, it’s pretty straightforward. You’d publish your custom feature as a normal JVM library, and others would include it by
install()
-ing it just like the built-in Features https://ktor.io/advanced/features
b
@Casey Brooks Okay, so just create a package end publish it to maven or similar? I’ll try
c
Yup, exactly! Nothing magical to it, ktor doesn’t use ServiceProviders, DI, or anything like that. Users create and register Features directly in their Modules