l
-.groovy
j
might need a
import org.jetbrains.kotlin.gradle.plugin.experimental.internal.KotlinNativeMainComponent
at the top?
I'm stuck at
error: could not find 'main' in '<root>' package
This is what I have so far
And here's my settings.gradle.kts to enable the EAP repo.
l
whoa!!! thanks a lot!! @jmhmccr it worked! 😄
so my build.gradle.kts looks like this now:
but in settings.gradle.kts i have only
Copy code
enableFeaturePreview("GRADLE_METADATA")
so I might still be missing something
j
I think it's a little different for Kotlin Native, but for me to get access to Kotlin JVM EAP, I had to add the repository to the
pluginManagement
block in
settings.gradle.kts
and then I could remove the
buildscript
block in
build.gradle.kts
l
oh, for android side I stayed with groovy