I wanted to try Jewel in a simple app, and (since ...
# jewel
m
I wanted to try Jewel in a simple app, and (since there are no docs yet) I was looking at the standalone sample using
DecoratedWindow
. But it looks like my copy of Jewel doesn't have a
DecoratedWindow
. Did I use the wrong dependency? I used
implementation("org.jetbrains.jewel:jewel-int-ui-standalone:0.39.1-262.9437.29")
and
import org.jetbrains.jewel.window.DecoratedWindow
is unresolved. Everything else works fine, I just can't seem to access the decorated window part.
Found it. Turns out it's in a separate dependency. @seb the website misled me a little bit, with the whole "One dependency" and only mentioning
org.jetbrains.jewel:jewel-int-ui-standalone
. Turns out it's in fact not one dependency. 😄
k
m
Thanks, yeah the missing piece was
implementation("org.jetbrains.jewel:jewel-decorated-window:0.39.1-262.9437.29")
s
It's one dependency to get Jewel. Decorated window is an optional bit and thus a separate dependency. But yes the readme could be clearer and eventually we'll have time to publish the docs 😄