I know it's early, early days for Web, but I'm try...
# compose-web
d
I know it's early, early days for Web, but I'm trying to seed a project that compiles to Android, Desktop and Web targets. It's working out, albeit uncomfortable. Specifically: trying to find the versions of Compose dependencies that all work with the same Kotlin version took some time. The common denominator remains at 1.4.32. (EDIT: Wrong! ⚑ See in-thread for 1.5.x combo ⚑ πŸ™‚ ) Also, code sharing opportunities remain limited due to their separation. What's the ball-park for an all-in-one artifact? Weeks, months, years... or not on any current roadmap?
πŸ‘€ 2
j
just fyi that there is combination that works with Kotlin 1.5.10 right now: Jetpack Compose beta08 Compose for Desktop 0.4.0 Compose for Web 0.0.0-web-dev-14.1
☝️ 2
K 7
❀️ 4
d
@John O'Reilly Thank you, thank you πŸ™ I thought I'd tried that (I've been referencing People In Space too πŸ™‚ ) and for some reason I interpreted error messages as JB had tied 14.1 to
1.5.20-M1
- tried it again, and you're right, I'm happily wrong - this works πŸ˜‚
j
I have 1.5 related changes in
kotlin_1_5
branch of PeopleInSpace still.....waiting on Koin update and will merge those to
main
then
πŸ‘ 1
d
1.5.x
across all three; I'm giddy.
j
When you say all-in-one artifact, are you referring to a single MPP Compose dependency for all three platforms, or to being able to use existing canvas-based widgets out of the box?
The former I thought was pretty close, but I could be mistaken (cc @[JB] Shagen). The later isn't currently on any roadmap, more detail here: https://twitter.com/JimSproch/status/1400860180980518912
d
Thanks @jim; Yes I was referring to the former: a single dependency for all three platforms. I understand that having a comprehensive set of widgets that works across all three is a longer term challenge (if it's desirable at all), but having the same dependency, organised so that the small/growing overlap is 'common' would still be empowering to devs.
πŸ‘ 1
o
Note that recent
web
artifacts contains Desktop and Android versions, and we plan to start publishing 0.5.x with web next week.
πŸ™Œ 1
πŸ™ 3
πŸ‘ 7
πŸ‘€ 3
πŸ‘πŸΌ 1