We are happy to announce that Compose Multiplatfor...
# compose-desktop
a
We are happy to announce that Compose Multiplatform went Alpha today. The build
1.0.0-alpha2
is already available in the Maven repo.  While its API is not completely stabilized, we will strive to minimize API changes in future, focusing on stabilizing the framework on its way to beta and 1.0.  We believe that though the current version may have certain issues, it already could be used for early prototyping and PoC preparations of real applications built on Compose Multiplatform technology.  And as usual - feel free to share feedback about Compose Multiplatform, so that we could improve it. Enjoy composing! P.S. Some details about the Release could be found here - https://blog.jetbrains.com/kotlin/2021/08/compose-multiplatform-goes-alpha/
🦜 10
K 6
🎉 38
s
Congrats everyone 🎉. A question, still do not unify Jetbrains compose and Android right? By unifying I mean that the artifact will be the same in both versions allowing a easy way to share Compose libraries for Android and Jetbrains Compose.
i
Still not, unfortunately. There are three separate issues here: 1. We should base our builds on the stable Jetpack Compose commit, not on the latest androidx-main. So users and we would be sure that common/android parts work exactly as in Jetpack Compose. I believe, we should do it with our 1.0.0 release. 2. Use the same version as in Jetpack Compose. If we base our build on Jetpack Compose on 1.1.0, then we probably should name our version 1.1.x too, or at least provide a mapping between versions posted on our GitHub page. 3. Transitively depend on Jetpack Compose, if user compiles android sourceSet. So Gradle will resolve all version conflicts by itself, without using any plugins.
s
Yeh, I found out that if you use
compilyOnly
for the Compose dependencies in compose desktop there is no problem when running it on Jetpack Compose.
j
Are Compose for Web/Desktop versions associated with this dependent on Kotlin 1.5.20/21 (just wondering in terms of compatibility in project that uses Jetpack Compose which still depends on Kotlin 1.5.10)?
Yay, looks like Jetpack Compose 1.0.1 works with Kotlin 1.5.21 🙂 https://developer.android.com/jetpack/androidx/releases/compose#1.0.1
c
@John O'Reilly that page you linked doesn't say 1.5.21 anywhere?
j
still seems to be there....
c
Hm. Nothing here. I don't see that Version 1.0.1 at all. 😭
j
c
Oh. Cheers! I see it!
a
Compose Desktop/Web 1.0.0-alpha2 works with Kotlin 1.5.21
m
When will Compose Multiplatform change the androidx package name ?
o
this could happen if/when Google team would consider making such change, otherwise our implementations will become incompatible
o
Is there a way to use Compose Web 1.0.0-alpha2 with Kotlin 1.5.30-M1 (which features source maps on JS/IR)?
a
Alpha is intended to be used with 1.5.20. But eventually there will be a Compose build on 1.5.30+
🙏 1