compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

[Bug] Res generation grade plugin

Open xinzhengzhang opened this issue 1 year ago • 0 comments

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:

  1. Go to 'compose-multiplatform/components/resources'
  2. Duplicated demo/shared directory to demo/shared2 and only leave demo/shared2/src/commonMain/composeResources/values/strings.xml
  3. Add shared2 to deps of settings.gradle.kts and demo/androidApp
  4. :resources:demo:androidApp:assembleDebug

Expected behavior Compile succeed

Screenshots Screenshot 2024-02-04 at 13 05 06

xinzhengzhang avatar Feb 04 '24 05:02 xinzhengzhang