https://kotlinlang.org logo
#compose
Title
# compose
t

tcracknell

10/01/2020, 5:29 PM
Hello! The latest Jetpack Compose minor release, alpha04, is finally here! You can get it now on Google’s Maven Repository.  Release notes are available at https://developer.android.com/jetpack/androidx/versions/all-channel. Two important things to be aware of:  • androidx.compose:compose-compiler has been refactored to androidx.compose.compiler:compiler • Compose Version 1.0.0-alpha04 is only compatible with Android Studio 4.2 Canary 13 and later.
🎉 32
👍 11
🔥 13
z

Zhelyazko Atanasov

10/01/2020, 5:41 PM
Something else that caught my eye is this one:
Stack was renamed to Box.
taken from Foundation release notes. To me, Stack is a lot better name as it implies the behaviour of the composable. Why did you decide to rename it to
Box
?
👍 1
z

Zach Klippenstein (he/him) [MOD]

10/01/2020, 6:03 PM
Compose Version 1.0.0-alpha04 is only compatible with Android Studio 4.2 Canary 13 and later.
Is it also true that agp alpha13 is also not compatible with older compose versions?
l

Leland Richardson [G]

10/01/2020, 6:04 PM
yeah i think that that is the actual only incompatibility
but not 100% sure
z

Zach Klippenstein (he/him) [MOD]

10/01/2020, 6:04 PM
Seems to be a hard dependency on the compiler artifact’s coordinates, according to this error message i just got.
l

Leland Richardson [G]

10/01/2020, 6:05 PM
yeah…. the coupling here is that the compiler artifact name was assumed/hard coded in various places but we needed to change it (better late than never i guess?)
👍 1
z

Zach Klippenstein (he/him) [MOD]

10/01/2020, 6:05 PM
makes sense
l

Leland Richardson [G]

10/01/2020, 6:06 PM
i was under the impression that this was mostly an AGP thing, and AGP is very coupled to studio, so it’s all one big “canary 13 and alpha04” line in the sand
👍 4
t

tylerwilson

10/05/2020, 2:30 PM
I was experimenting with Compose with AS 4.2 (hiding any use behind a test flag), but I would continue to build production in AS 4.0.1. Now this is not possible, and I am a little leery to build production with AS 4.2. It would be nice if we could at least build in older AS versions, like we could with alpha03 of compose…
l

Leland Richardson [G]

10/07/2020, 3:03 AM
@tylerwilson you can do that if you configure the compiler yourself in gradle. You can see an example of doing that with alpha04 here: https://github.com/chrisbanes/tivi/pull/697/files
🎉 1
3 Views