Hello! The latest Jetpack Compose minor release, d...
# compose
t
Hello! The latest Jetpack Compose minor release, dev15, has just been released! You can get it now on Google’s Maven Repository. Release notes are available at https://developer.android.com/jetpack/androidx/releases/compose and https://developer.android.com/jetpack/androidx/releases/ui. Please note: 1) The Kotlin version has been updated and you will need to update your build.gradle file. 2) There was a major refactoring of the artifacts in this release and you can find the updated mapping in the release notes. Thanks!
🔥 2
🎉 22
👍 4
j
Looks like 1.4-M3 of Kotlin needed?
t
Yes, that's correct.
z
The commit history for the Compose (non-UI) release shows no commits, is the link correct?
r
I’m working on updating my sample to dev15
Some information is missing from the release notes
For instance you need the compiler version
1.4.0-dev-withExperimentalGoogleExtensions-20200720
There’s also a missing compiler argument
q
I’m having a lot of errors
Class 'kotlin.Unit' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
but I checked and I’m good according to your diff Romain 😕 (note it’s not only for kotlin.Unit but many kotlin.*)
r
Right that’s why you need that extra flag
We’ll update the release notes
q
Oh right, I thought I had it but there are 2 extra flags haha nice 😛
c
Is dev15 reflected @ cs.android.com yet?
l
IIUC cs.android.com should be even newer
it should be tracking pretty closely to master
(dev15 was cut ~1 week ago)
h
I've updated but I can't find
TweenBuilder
l
that probably means…
🔥 TweenBuilder
h
😄 Okay... But what can I use now instead?
t
The "declaring dependencies" section of the release notes has been updated. Please let us know if you have any issues.
h
Okay, I'm trying to use TweenBuilder, okay it doesn't exist anymore, but what can I use instead. I'm using:
Copy code
androidx.compose.animation:animation
androidx.compose.animation:animation-core
But I can't find nothing to replace it
a
there is a
tween()
top level function now instead
❤️ 1
h
Thank you @Andrey Kulikov \o/
m
Any idea why AndroidStudio update is available but can't be installed? Update and Restart button is disabled 😱 nvm: looks like IT blocked it 😒
p
Nearly painless, just needed full path for KotlinCompile:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach