Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
After updating a few libraries, the command compileDevDebugScreenshotTestKotlin fails with an error:
Full stack trace:
I've dug into the source code, and it seems KotlinCompile requires the
moduleName
property fromK2JVMCompilerArguments
during thecreateCompilerArguments
phase.The project uses KMP, but the previews are under
androidMain
directory.The setup follows the documentation. Except for flags, I have only:
screenshotTestImplementation(libs.compose.tooling)
where libs.compose.tooling:
compose-tooling = { module = "androidx.compose.ui:ui-tooling" }
Versions: