compose-multiplatform
compose-multiplatform copied to clipboard
[Bug] Res generation grade plugin
Describe the bug Two modules has values/strings.xml cause compile error
Affected platforms Select one of the platforms below:
- Android
If the bug is Android-only, report it in the Jetpack Compose tracker
Versions
- Kotlin version*: 1.9.22
- Compose Multiplatform version*: 1.6.0-dev1397
To Reproduce Steps and/or the code snippet to reproduce the behavior:
- Go to 'compose-multiplatform/components/resources'
- Duplicated demo/shared directory to demo/shared2 and only leave demo/shared2/src/commonMain/composeResources/values/strings.xml
- Add shared2 to deps of settings.gradle.kts and demo/androidApp
-
:resources:demo:androidApp:assembleDebug
Expected behavior Compile succeed
Screenshots