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

tcracknell

07/22/2020, 5:20 PM
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

John O'Reilly

07/22/2020, 5:27 PM
Looks like 1.4-M3 of Kotlin needed?
t

tcracknell

07/22/2020, 5:28 PM
Yes, that's correct.
z

Zach Klippenstein (he/him) [MOD]

07/22/2020, 5:46 PM
The commit history for the Compose (non-UI) release shows no commits, is the link correct?
r

romainguy

07/22/2020, 6:07 PM
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

Quentin Dommerc

07/22/2020, 6:19 PM
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

romainguy

07/22/2020, 6:24 PM
Right that’s why you need that extra flag
We’ll update the release notes
q

Quentin Dommerc

07/22/2020, 6:25 PM
Oh right, I thought I had it but there are 2 extra flags haha nice 😛
c

chris

07/22/2020, 8:01 PM
Is dev15 reflected @ cs.android.com yet?
l

Leland Richardson [G]

07/22/2020, 8:05 PM
IIUC cs.android.com should be even newer
it should be tracking pretty closely to master
(dev15 was cut ~1 week ago)
h

henrikhorbovyi

07/22/2020, 8:36 PM
I've updated but I can't find
TweenBuilder
l

Leland Richardson [G]

07/22/2020, 8:45 PM
that probably means…
🔥 TweenBuilder
h

henrikhorbovyi

07/22/2020, 8:46 PM
😄 Okay... But what can I use now instead?
t

tcracknell

07/22/2020, 9:00 PM
The "declaring dependencies" section of the release notes has been updated. Please let us know if you have any issues.
h

henrikhorbovyi

07/22/2020, 9:04 PM
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

Andrey Kulikov

07/22/2020, 9:28 PM
there is a
tween()
top level function now instead
❤️ 1
h

henrikhorbovyi

07/22/2020, 9:32 PM
Thank you @Andrey Kulikov \o/
m

Marcin Środa

07/23/2020, 7:35 AM
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

Philip Blandford

07/23/2020, 9:49 AM
Nearly painless, just needed full path for KotlinCompile:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach
3 Views