Hi everyone, i’m working on a Compose Multiplatfor...
# multiplatform
j
Hi everyone, i’m working on a Compose Multiplatform project and trying to use a convention plugin. However, I’m encountering an error message:
Failed to apply plugin class 'org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin'.
Extension of type 'KotlinMultiplatformExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, LibrariesForLibs, VersionCatalogsExtension, BasePluginExtension, DefaultArtifactPublicationSet, SourceSetContainer, ReportingExtension, JavaToolchainService, JavaPluginExtension]
Could someone please help me understand how to properly use this convention plugin and resolve this error?
x
Make sure to register the plugin in build.gradle.kts of the convention module
k
⚠️ ⚠️ ⚠️ and be aware about this! https://github.com/terrakok/GradleKotestProblem