Hi Several months ago, I had reported that the de...
# compose-desktop
z
Hi Several months ago, I had reported that the desktop artifact brings in a dependency on material 2. However it seems to still not have been fixed. Other libraries which depend on it get that material 2 dependency as well, even if not used. which is then carried down into my own projects which use only material 3 Here is the specific line where it happens: https://github.com/JetBrains/compose-multiplatform-core/blob/db2825ee67d649cb9d28aa0bf166e863db66ae0e/compose/desktop/desktop/build.gradle#L50 The only thing the desktop artifact has is just deprecated stuff. Maybe it could just be deleted entirely? It would be great if this could be resolved, my current work-around has been specifying an exclusion rule in gradle
exclude(group = "org.jetbrains.compose.material", module = "material")
👍 1
1
i
cc @Igor Demin @Alexander Maryanovsky
i
This is in our plans. The blocker here is to decide an alternative for
desktop.currentOs
that resolves binaries. Vote for https://github.com/JetBrains/compose-multiplatform/issues/497 > Other libraries which depend on it Libraries shouldn't add a dependency on
desktop
, only end applications should do that.