You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the android and desktop targets are defined in a project with only one module, it is not possible to download the source code of the Compose artifacts in the common code nor in the desktop code (both seem to use the same artifacts, *_desktop). This is terrible because to develop for Compose, it is strictly necessary to explore the source code of the composable functions.
Targets
By adding more targets, for example, iOS, the problem is solved, from the moment the common code starts to use the common artifacts. So I assume that the problem is precisely the artifacts for JVM.
Modules
For some reason that I still don't understand, the bug does not exist in projects with multiple modules. So, projects created with the Kotlin Multiplatform Wizard suffer from this bug.
Irineu333
changed the title
I can't download the Compose artifacts' source code in the common code.
Can't download compose artifacts' source code in the common code.
Mar 23, 2024
Hello! Thank you for submitting the issue.
Looks like the problem with the Kotlin Wizard only. Please, create a ticket in Kotlin Issue Tracker
And feel free to reopen if you have any questions.
Describe the bug
When the android and desktop targets are defined in a project with only one module, it is not possible to download the source code of the Compose artifacts in the common code nor in the desktop code (both seem to use the same artifacts,
*_desktop
). This is terrible because to develop for Compose, it is strictly necessary to explore the source code of the composable functions.Targets
By adding more targets, for example, iOS, the problem is solved, from the moment the common code starts to use the common artifacts. So I assume that the problem is precisely the artifacts for JVM.
Modules
For some reason that I still don't understand, the bug does not exist in projects with multiple modules. So, projects created with the Kotlin Multiplatform Wizard suffer from this bug.
My personal template, for example, started to show the bug after consolidating everything into one module.
Discussed in #4263
Affected platforms
Versions
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
Expected behavior
It should download the source code so that we can explore it.
Screenshots
Gravação de tela de 2024-03-23 00-12-41.webm
The text was updated successfully, but these errors were encountered: