Browse Source
The Compose Multiplatform Resources with the mulimodule.publication
support is a new feature and may have some not found problems. The PR
introduces a gradle property to switch back to the previous behavior:
`org.jetbrains.compose.resources.multimodule.disable=true`
## Testing
After update to Kotlin 2.0.0 and CMP 1.6.10 all projects will be
switched to the new logic with the multimodule support.
Gradle info output should contain a message:
```
Configure KMP resources
```
If the new feature breaks user's projects they may add
`org.jetbrains.compose.resources.multimodule.disable=true` to the
`gradle.properties` to disable it. After that Gradle info output will
contain:
```
Configure compose resources
```
## Release Notes
### Resources
To disable the Compose Resources publication and the multimodule support
in cases of problems add
`org.jetbrains.compose.resources.multimodule.disable=true` to the root
`gradle.properties`.
(cherry picked from commit bf6142ddf5
)
shish/stableprop
Konstantin
7 months ago
committed by
Konstantin Tskhovrebov
8 changed files with 62 additions and 23 deletions
@ -1,6 +1,7 @@ |
|||||||
plugins { |
plugins { |
||||||
id("org.jetbrains.compose").apply(false) |
id("org.jetbrains.compose").apply(false) |
||||||
kotlin("multiplatform").apply(false) |
kotlin("multiplatform").apply(false) |
||||||
|
kotlin("plugin.compose").apply(false) |
||||||
id("com.android.library").apply(false) |
id("com.android.library").apply(false) |
||||||
id("com.android.application").apply(false) |
id("com.android.application").apply(false) |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue