Skip to content

Commit 25bafa5

Browse files
authored
Clarify deprecation message for materialIconsExtended (#5520) (#5521)
See #5520 for details Fixes [CMP-9684](https://youtrack.jetbrains.com/issue/CMP-9684) Clarify deprecation message for materialIconsExtended ## Release Notes ### Fixes - Multiple Platforms - Improved the deprecation message for `compose.materialIconsExtended` to explain that the artifact is pinned to version `1.7.3` and suggest migration to Material Symbols
2 parents 924efbb + c0eb527 commit 25bafa5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ abstract class ComposePlugin : Plugin<Project> {
9292
val uiUtil get() = composeDependency("org.jetbrains.compose.ui:ui-util")
9393
@Deprecated("Specify dependency directly", replaceWith = ReplaceWith("\"org.jetbrains.compose.ui:ui-tooling-preview:${ComposeBuildConfig.composeVersion}\""))
9494
val preview get() = composeDependency("org.jetbrains.compose.ui:ui-tooling-preview")
95-
@Deprecated("Specify dependency directly", replaceWith = ReplaceWith("\"org.jetbrains.compose.material:material-icons-extended:1.7.3\""))
95+
@Deprecated(
96+
"This artifact is pinned to version 1.7.3 and will not receive updates. " +
97+
"Either use this version explicitly or migrate to Material Symbols (vector resources). " +
98+
"See https://kotlinlang.org/docs/multiplatform/whats-new-compose-180.html",
99+
replaceWith = ReplaceWith("\"org.jetbrains.compose.material:material-icons-extended:1.7.3\"")
100+
)
96101
val materialIconsExtended get() = "org.jetbrains.compose.material:material-icons-extended:1.7.3"
97102
@Deprecated("Specify dependency directly")
98103
val components get() = CommonComponentsDependencies

0 commit comments

Comments
 (0)