Closed romainbsl closed 1 week ago
Reproduced with these steps:
kotlin-2
branch./gradlew framework:compose:kodein-di-framework-compose:check
After commenting the Compose plugin, it is successful:
plugins {
kodein.library.mppWithAndroid
alias(libs.plugins.compose.compiler)
//alias(libs.plugins.compose)
}
kotlin.kodein {
jsEnv()
allComposeUi()
common.mainDependencies {
implementation("org.jetbrains.compose.runtime:runtime:1.6.10-beta03")
api(projects.kodeinDi)
}
android {
sources.mainDependencies {
api(projects.framework.android.kodeinDiFrameworkAndroidX)
implementation(libs.android.x.lifecycle.viewmodel.compose)
}
}
}
Google issue: https://issuetracker.google.com/issues/333831734
Describe the bug
Migrating from Kotlin 1.9.2x and Compose 1.6.0-alpha01 👉 Kotlin 2.0.0-RC2 + Compose Compiler + Compose Multiplatrform 1.6.10-beta03 and running
./gradlew check
I get multiple errors about tasks that are using outputs fromgenerateResourceAccessorsForAndroidUnitTest
without declaring explicit dependency.Example:
Using the following workaround helps remove warnings:
Affected platforms
Versions
To Reproduce Steps and/or the code snippet to reproduce the behavior:
kotlin-2
branchcheck
Expected behavior
Not having to use workaround.