Hello! When I use apply(plugin="org.jetbrains.ko...
# gradle
p
Hello! When I use apply(plugin="org.jetbrains.kotlin.multiplatform") kotlin { // <- error failed to resolve symbol .... } But configure<KotlinMultiplatformExtension> { // ok .... } When plugins{ kotlin("multiplatform") version "1.3.41" } kotlin { // <- OK .... } How can I make last variant work with apply construction? I need it cause I'm applying it in my custom gradle plugin and now it is not possible to use plugins in this case.
e
Short answer, you can’t. It’s working as expected. See https://docs.gradle.org/current/userguide/kotlin_dsl.html#type-safe-accessors
p
Thanks a lot!
e
Happy to help 🙂