-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Name contains illegal characters
in generated Res.kt
while building jsTarget.
#4295
Comments
…sTarget (#4295) (#4300) Origin: #4296 --------- Co-authored-by: Suhaib Roomy <[email protected]>
…sTarget (#4295) (#4300) Origin: #4296 --------- Co-authored-by: Suhaib Roomy <[email protected]>
is there a way to workaround this until the next stable release is up with the merged pr? |
Yes. Just give a project name without dashes |
@terrakok a workaround that doesn't involve renaming directories/ changing module names that are already published on maven |
comment out compose resources to publish and workaround: JetBrains/compose-multiplatform#4442 JetBrains/compose-multiplatform#4295
You are not able to publish a library with compose resources yet. Could you explain your case? |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
Error
Name contains illegal characters
in generatedRes.kt
while building jsTarget when the project name contains hyphen. This happens since the Plugin gets the project name and appends it to the generated files package name within ``. This works fine on androidTargets but generates an error with JsTargetAffected platforms
Select one of the platforms below:
Versions
To Reproduce
Expected behaviour
There should be no error
The text was updated successfully, but these errors were encountered: