JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.91k stars 1.16k forks source link

Resources are not found in JVM project depending on multiplatform library #3162

Open avwie opened 1 year ago

avwie commented 1 year ago

Describe the bug Resources in a Multiplatform library common target can not be resolved in a consuming JVM project.

See https://github.com/avwie/resources-issues-compose for a working minimal example of the bug.

Affected platforms Select one of the platforms below:

Versions

To Reproduce

Or see readme in my linked repo.

Expected behavior I expect resources in the commonMain/resources folder also to be resolvable in a kotlin("jvm") project.

okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.