Upgrade kotlin to v2 (#4461)

This commit is contained in:
Konrad Pozniak 2024-05-23 21:51:25 +02:00 committed by GitHub
parent f0a9c8be53
commit 78b1fcb9c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View file

@ -7,4 +7,5 @@ build
/captures
.externalNativeBuild
app/release
app-release.apk
app-release.apk
.kotlin

View file

@ -20,7 +20,7 @@ inline fun <T : ViewBinding> AppCompatActivity.viewBinding(
bindingInflater(layoutInflater)
}
private class ViewLifecycleLazy<out T : Any>(
private class ViewLifecycleLazy<T : Any>(
private val fragment: Fragment,
private val initializer: (View) -> T
) : Lazy<T>, LifecycleEventObserver {

View file

@ -34,7 +34,7 @@ glide = "4.16.0"
# Deliberate downgrade, https://github.com/tuskyapp/Tusky/issues/3631
glide-animation-plugin = "2.23.0"
hilt = "2.51.1"
kotlin = "1.9.24"
kotlin = "2.0.0"
image-cropper = "4.3.2"
material = "1.12.0"
material-drawer = "8.4.5"
@ -56,7 +56,7 @@ xmlwriter = "1.0.4"
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
google-ksp = "com.google.devtools.ksp:1.9.24-1.0.20"
google-ksp = "com.google.devtools.ksp:2.0.0-1.0.21"
hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }