Since upgrading my Kotlin Multiplatform project to...
# ktor
h
Since upgrading my Kotlin Multiplatform project to Kotlin 2.1.20 I am unable to build my module which has ktor as a dependency I get the error
Copy code
e: 'java' Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider adding a new subproject with 'java' plugin where the KMP project is added as a dependency.


e: 'application' (also applies 'java' plugin) Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider the new KMP/JVM binaries DSL as a replacement: <https://kotl.in/jvm-binaries-dsl>


e: 'java' Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider adding a new subproject with 'java' plugin where the KMP project is added as a dependency.


e: 'application' (also applies 'java' plugin) Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider the new KMP/JVM binaries DSL as a replacement: <https://kotl.in/jvm-binaries-dsl>
I understand that I can't use the application plugin anymore, but apparently that is being added by the ktor plugin, so what is the work around? I would really appreciate some help as I have been stuck with this all morning.
a
The issue has been fixed and will be delivered in the next release (3.2.0). Can you please describe which functionality of the Ktor Gradle plugin you use?