Skip to content

Deprecate compose.desktop.currentOs#5546

Open
kropp wants to merge 1 commit intomasterfrom
kropp/deprecate-currentOs
Open

Deprecate compose.desktop.currentOs#5546
kropp wants to merge 1 commit intomasterfrom
kropp/deprecate-currentOs

Conversation

@kropp
Copy link
Copy Markdown
Member

@kropp kropp commented Feb 27, 2026

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 kropp requested review from igordmn and terrakok February 27, 2026 16:13
@kropp kropp force-pushed the kropp/deprecate-currentOs branch from 5a66004 to f68ba45 Compare March 2, 2026 08:45
Copy link
Copy Markdown
Contributor

@MatkovIvan MatkovIvan left a comment

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