compose-multiplatform
compose-multiplatform copied to clipboard
[Enhancement] More customization capabilities for resource generators plugins
Currently composed resource generators do not have customization capabilities(https://github.com/JetBrains/compose-multiplatform/blob/master/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesGenerator.kt), e.g. Res is internal level. Generation strategies for drawable density.
Is it possible to add some options such as at least one to turn off the autogeneration of res?
Another appeal:
I am using Bazel to organize kmm projects, now because this tool is in the gradle plugin I need to strip it out to adapt to Bazel Is it possible to export a standalone cli tool like aapt
for the Res source code generation?
Versions
- Kotlin version*: 1.9.20
- Compose Multiplatform version*: 1.6.0-beta01
(Related to #4193)
Right now, it's internal, which makes it not accessible by other modules.
yes. it is the current design decision. module's resources are isolated from each other. if you want to provide it outside you >are suppose to declare explicit API in the module.
Another nice customization would be the possibility to set the root package name.
Fixed by https://github.com/JetBrains/compose-multiplatform/pull/4482
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.