Hello, I updated to Kotlin 1.9.21 and i have an is...
# multiplatform
l
Hello, I updated to Kotlin 1.9.21 and i have an issue with Kotlin Multiplatform Plugin. 1. When is used kotlin { ... } from buildSrc then is used following class: @Suppress("DEPRECATION") @KotlinGradlePluginDsl abstract class KotlinMultiplatformExtension @InternalKotlinGradlePluginApi *constructor*(project: Project) : KotlinProjectExtension(project), KotlinTargetContainerWithPresetFunctions, KotlinTargetContainerWithJsPresetFunctions, KotlinTargetContainerWithWasmPresetFunctions, KotlinTargetContainerWithNativeShortcuts, KotlinHierarchyDsl, KotlinMultiplatformSourceSetConventions by KotlinMultiplatformSourceSetConventionsImpl 2. When is (kotlin { ... }) used directly outside from buildSrc then is used following class (does not contain new methods, eg. applyDefaultHierarchyTemplate() ): public abstract class KotlinMultiplatformExtension public constructor(project: org.gradle.api.Project) : org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension, org.jetbrains.kotlin.gradle.dsl.KotlinTargetContainerWithPresetFunctions, org.jetbrains.kotlin.gradle.dsl.KotlinTargetContainerWithJsPresetFunctions, org.jetbrains.kotlin.gradle.dsl.KotlinTargetContainerWithWasmPresetFunctions, org.jetbrains.kotlin.gradle.dsl.KotlinTargetContainerWithNativeShortcuts Why are classes different? Is class from buildSrc generated? Is possible that second class is from old version of plugin?
🧵 1