Hi! I am quite new to the kotlin gradle dsl so sor...
# gradle
t
Hi! I am quite new to the kotlin gradle dsl so sorry if this is a newbie question. Whenever i include the multiplatform plugin like so:
Copy code
plugins {
      id("org.jetbrains.kotlin.multiplatform") version "1.3.10"
}
I keep getting the error: "Unable to load class 'org.gradle.api.internal.FeaturePreviews'." I am using gradle gradle 5.0
s
do you have anything specified in your settings.gradle?
t
nope
the project i am migrating from had enableFeaturePreview("GRADLE_METADATA") in it, but i could not find a way to enable this in kotlin
the exact point i am at is https://gist.github.com/Torbilicious/d4fa120b14d0c4cfa243d3595f0807a9 i am trying to convert https://github.com/msink/kotlin-libui to the kotlin gradle dsl
ok everything is sorted for some reason intellij used a very old gradle version instead of the definded wrapper
s
yes, I had that happen. I was suspecting that might be your issue.