After some discussions with Kotlin team we decided to hide the multi module support for resources under a gradle property: compose.resources.multimodule.enable=true.
It gives users a way to migrate on the new Kotlin without unexpected problems and enable the new resource's behavior smoothly.
By default the new behavior is disabled. But I guess it should be enabled in the official wizard though.
Testing
Projects with CMP 1.6.2 should work as before after update to Kotlin 2.0.0 and CMP 1.6.10
Gradle output should contain a message:
Multimodule Compose Resources are disabled by default.
To enable it add 'compose.resources.multimodule.enable=true' int the root gradle.properties file.
If the new feature is enebled then the publication and the multimodule support will work.
Release Notes
To enable the Compose Resources publication and the multimodule support add compose.resources.multimodule.enable=true to the root gradle.properties.
After some discussions with Kotlin team we decided to hide the multi module support for resources under a gradle property:
compose.resources.multimodule.enable=true
. It gives users a way to migrate on the new Kotlin without unexpected problems and enable the new resource's behavior smoothly.By default the new behavior is disabled. But I guess it should be enabled in the official wizard though.
Testing
Projects with CMP 1.6.2 should work as before after update to Kotlin 2.0.0 and CMP 1.6.10 Gradle output should contain a message:
If the new feature is enebled then the publication and the multimodule support will work.
Release Notes
To enable the Compose Resources publication and the multimodule support add
compose.resources.multimodule.enable=true
to the rootgradle.properties
.Sections:
Subsections: