Skip to content
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

Swing dependency for Main dispatcher question #330

Open
lsrom opened this issue Sep 23, 2024 · 1 comment
Open

Swing dependency for Main dispatcher question #330

lsrom opened this issue Sep 23, 2024 · 1 comment

Comments

@lsrom
Copy link

lsrom commented Sep 23, 2024

Hi, I was trying touse this library in multiplatform app, but it requires org.jetbrains.kotlinx:kotlinx-coroutines-swing for the Dispatchers.Main. I've seen that in other libraries as well and was wondering if thats something I just have to live with if I want to use these libraries or if it can be avoided, for example by providing my dispatcher.

So, am I wrong in trying to avoid swing dependency?

@JakeWharton
Copy link
Collaborator

Are you talking about Compose UI for Desktop? If so, that already relies on Swing so the dependency is already going to be present.

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

No branches or pull requests

2 participants