Hello, is there a way to use Jetpack Compose Deskt...
# intellij-plugins
g
Hello, is there a way to use Jetpack Compose Desktop instead of Swing for building UI in IntelliJ ? 😄
h
Compose desktop (jvm) uses Swing under the hood, so it should be possible to use it instead without problems, I guess 🤔
g
It is, there's an example in the git repo 🤯
g
@corneil Any idea how to package compose lib inside the IntelliJ plugin? When the plugin is built as a jar, the jar libs of Compose are not part of it and Android Studio crashes 😢
c
I'm sorry but I have no idea. I would suggest asking in #intellij-plugins if anyone has used compose to build a plugin.
g
I'm pretty sure I have to switch to Swing 🤮
h
I guess you have to use shadow
g
What's that?
I see, a gradle plugin for fat jars
c
Shadow jar means packaging extra dependencies in the same jar.
108 Views