d

    darkmoon_uk

    1 year ago
    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?
    John O'Reilly

    John O'Reilly

    1 year ago
    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
    d

    darkmoon_uk

    1 year ago
    @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 😂
    John O'Reilly

    John O'Reilly

    1 year ago
    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
    d

    darkmoon_uk

    1 year ago
    1.5.x
    across all three; I'm giddy.
    jim

    jim

    1 year ago
    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

    darkmoon_uk

    1 year ago
    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.
    olonho

    olonho

    1 year ago
    Note that recent
    web
    artifacts contains Desktop and Android versions, and we plan to start publishing 0.5.x with web next week.