I get this tooltip, no idea how to ‘enable it expl...
# multiplatform
t
I get this tooltip, no idea how to ‘enable it explicitly’. any ideas?
j
are you applying the multiplatform gradle plugin?
t
Copy code
apply plugin: "kotlin-multiplatform"
Perhaps related to the KMM plugin I installed, but do not use? Now I am afraid to remove it. 😕
j
I am using kmm plugin with no problems
why you are not using the new plugins block?
Copy code
plugins {
    id 'org.jetbrains.kotlin.multiplatform' version '1.4.21'
}
try that or this
Copy code
plugins {
    id 'org.jetbrains.kotlin.multiplatform'
}
t
trying. lets see…
to be clear, everything builds fine, but the red squiggles bother me
m
Or even better - use Gradle Kotlin DSL 😅
Copy code
plugins {
	kotlin("multiplatform")
}
I had that warning before. But that was because I’ve used `actual`/`expect` in a non-MPP in which case you need to enable it explicitly.
Or maybe something is up with the Gradle import 🤔
Can you share your entire Gradle config?
t
well, just changing to the plugins block and re-syncing got rid os the expect squiggle, but now i have a different one. checking..
it is much better now - thank you!
🙂 1
👍 1