Skip to content

Deprecate compose.desktop.currentOs#5546

Open
Victor Kropp (kropp) wants to merge 1 commit into
masterfrom
kropp/deprecate-currentOs
Open

Deprecate compose.desktop.currentOs#5546
Victor Kropp (kropp) wants to merge 1 commit into
masterfrom
kropp/deprecate-currentOs

Conversation

@kropp

@kropp Victor Kropp (kropp) commented Feb 27, 2026

Copy link
Copy Markdown
Member

Fixes CMP-9176 Deprecate compose.desktop.currentOs dependency alias in Gradle plugin
Fixes CMP-5990 Add the ability to not depend on the "compose.material" module

Testing

Should check that suggested replacement works

Release Notes

Migration Notes - Desktop

  • compose.desktop.currentOs alias in Gradle is now deprecated. Replace
implementation(compose.desktop.currentOs)

by

implementation("org.jetbrains.compose.desktop:desktop:<composeMultiplatformVersion>")
implementation("org.jetbrains.compose.material:material:<composeMultiplatformVersion>") // if needed

@kropp Victor Kropp (kropp) force-pushed the kropp/deprecate-currentOs branch from 5a66004 to f68ba45 Compare March 2, 2026 08:45

@MatkovIvan Ivan Matkov (MatkovIvan) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR doesn't solve CMP-5990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants