CLOVIS
04/30/2024, 8:16 PM* What went wrong:
Cannot query the value of this provider because it has no value available.
The value of this provider is derived from:
- task ':app:jvmCopyHierarchicalMultiplatformResources' property 'outputDirectory'
Build file:
plugins {
alias(… Kotlin 2.0.0-RC2 …)
alias(… Compose Multiplatform 1.6.10-beta03 …)
alias(… Compose Compiler 2.0.0-RC2 …)
application
}
kotlin {
jvm {
withJava() // !! thrown here !!
}
sourceSets.commonMain.dependencies {
// …
}
}
application {
mainClass.set("example.MainKt")
}
If I replace it like this, it goes away:
plugins {
java
// …
}
kotlin {
jvm()
// …
}
It runs fine with Kotlin 1.9.23 and Kotlin 2.0.0-RC1 (with matching Compose versions)Zac Sweers
04/30/2024, 8:18 PMCLOVIS
04/30/2024, 8:28 PM