1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
plugins { `java-library` kotlin("jvm") kotlin("plugin.serialization") } dependencies { declareKtorVersion() api("io.ktor:ktor-server-core") api("io.ktor:ktor-server-webjars") api("sh.ondr:kotlin-json-schema:0.1.1") implementation("org.webjars:swagger-ui:5.18.2") } java { toolchain.languageVersion.set(JavaLanguageVersion.of(21)) }