I'm getting the following error when trying to build an app with ktor
Copy code
No matching toolchains found for requested specification: {languageVersion=11, vendor=any, implementation=vendor-specific}.
gradle 8.0.2, openjdk 17
a
Andrew O'Hara
04/05/2023, 8:52 PM
Seems like a certain plugin requires JDK11, so JDK17 won't satisfy it. Do you have any KSP or KAPT plugins? What versions are they?
r
Rodrigo Silva
04/05/2023, 8:55 PM
Copy code
plugins {
`maven-publish`
kotlin("jvm") version "1.8.20"
id("io.ktor.plugin") version "2.2.4"
id("com.github.spotbugs") version "5.0.14"
id("org.jetbrains.qodana") version "0.1.13"
id("com.jfrog.artifactory") version "4.31.8"
kotlin("plugin.serialization") version "1.8.20"
id("io.gitlab.arturbosch.detekt") version "1.22.0"
}