-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to not depend on the "compose.material" module #497
Comments
What's the point for such a change? |
If someone will write a library-replacement for After this change we can use only that library, without |
I'm actually a little confused by the whole |
Yes, I am also thought about that! But at the time I tried (Summer 2020) there were some issues. Maybe I just didn't know MPP plugin very well, maybe MPP plugin didn't support different jvm binary targets. But we can try again, and if we will need something from MPP plugin, we can communicate with MPP team. |
|
Theoretically we can still ship separate artifacts for each platform (mac-arm64, mac-x64, win64, linux64), and make MPP plugin resolve platform automatically:
Compose Gradle plugin task "./gradlew run" will determine current Os and will run appropriate target. It looks verbose, so we need to think can we reduce the code size. |
Are there any workarounds for now to not include compose.material? |
@Wertual08 I am using Material 3 and Material 2 was causing many naming conflicts and styling issues when wrongly imported, so I excluded it from every package that includes it (works fine so far, but tested only with Material 3 included). For example: implementation(compose.desktop) {
exclude("org.jetbrains.compose.material")
} |
@malliaridis Many thanks! |
…s: they don't support multitouch for now (JetBrains#497)
Bought it from #4035,
Then we can safely remove compose.material. |
Any ETA for this?? is there any blocker that prevents this from happening??? |
|
Probably we can make
compose.desktop.currentOs
dependent oncompose.foundation
, not oncompose.material
.In this case developers who don't want to use
material
module can write:or
or
If
material
module is needed then developers can write:or
The text was updated successfully, but these errors were encountered: