I'm currently updating Kotlin to 2.1.0, but am run...
# kotlin-native
m
I'm currently updating Kotlin to 2.1.0, but am running into a weird issue with our Kotlin Native(for Windows) library that uses some cinterops. There seems to be a problem with syncing them, the kotlin native gradle plugin is throwing
java.lang.IllegalStateException: Undefined LLVM home!
. Full stacktrace in the thread
Copy code
Caused by: org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'kotlinNativeProvider$kotlin_gradle_plugin_common.kotlinNativeDependencies' of task ':test-app:cinteropCurlMingwX64'.
	at org.gradle.api.internal.tasks.properties.InputParameterUtils.prepareInputParameterValue(InputParameterUtils.java:32)
	at org.gradle.api.internal.tasks.execution.TaskExecution.lambda$visitRegularInputs$1(TaskExecution.java:317)
	at org.gradle.internal.execution.impl.DefaultInputFingerprinter$InputCollectingVisitor.visitInputProperty(DefaultInputFingerprinter.java:103)
	at org.gradle.api.internal.tasks.execution.TaskExecution.visitRegularInputs(TaskExecution.java:315)
	...
Caused by: java.lang.IllegalStateException: Undefined LLVM home!
	at org.jetbrains.kotlin.konan.properties.KonanPropertiesLoader.getPredefinedDependencyOrNull(KonanProperties.kt:58)
	at org.jetbrains.kotlin.konan.properties.KonanPropertiesLoader.compilerDependencies(KonanProperties.kt:66)
	at org.jetbrains.kotlin.konan.properties.KonanPropertiesLoader.getDependencies(KonanProperties.kt:71)
	at org.jetbrains.kotlin.konan.target.MingwConfigurablesImpl.getDependencies(Windows.kt:46)