How does `implementation(compose.desktop.currentO...
# compose-desktop
a
How does
implementation(compose.desktop.currentOs)
work? I am building my mac app on my m1 machine. would I need to figure out a way to use
implementation(compose.desktop.macos_arm64)
or
implementation(compose.desktop.macos_x64)
depending on whether I am building for intel or m1, or does
currentOs
figures that part out?
m
As far as I remember it uses the environment defined by the JDK that gradle is running on. So it should work for what you are trying to do.
💯 1
a
Michael is right. i printed the
currentOs
value and it printed out something related to the architecture of the jdk i was using