From f10afe7bd898d2a845801ea6da48ea5d8cf2dc86 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 2 Oct 2024 12:30:22 +0200 Subject: [PATCH] chore: cleanup and update dependencies --- app/build.gradle.kts | 1 - .../com/github/libretube/ui/activities/MainActivity.kt | 2 +- gradle/libs.versions.toml | 7 +++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1a1ebd108..41502ac09 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -86,7 +86,6 @@ android { } dependencies { - // debugImplementation libs.square.leakcanary /* Android Core */ implementation(libs.androidx.activity) implementation(libs.androidx.appcompat) diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index 877ede53e..6d0a196f2 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -618,7 +618,7 @@ class MainActivity : BaseActivity() { } } - override fun onNewIntent(intent: Intent?) { + override fun onNewIntent(intent: Intent) { super.onNewIntent(intent) this.intent = intent loadIntentData() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f8128e983..e8428e113 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] appcompat = "1.7.0" core = "1.13.1" -gradle = "8.5.2" +gradle = "8.6.0" junit = "4.13.2" kotlin = "1.9.25" ksp = "1.9.25-1.0.20" @@ -9,7 +9,7 @@ lifecycle = "2.8.6" constraintlayout = "2.1.4" loggingInterceptor = "4.12.0" material = "1.12.0" -navigation = "2.7.7" +navigation = "2.8.1" newpipeextractor = "6e3a4a6d9de61eafb73e7eb1b714847b5077856d" preference = "1.2.1" extJunit = "1.2.1" @@ -27,7 +27,7 @@ kotlinxDatetime = "0.6.1" kotlinxRetrofit = "1.0.0" media = "1.7.0" media3 = "1.4.1" -activity = "1.8.2" +activity = "1.9.2" fragment = "1.8.3" uiautomator = "2.3.0" benchmarkMacroJunit4 = "1.3.1" @@ -69,7 +69,6 @@ desugaring = { group = "com.android.tools", name = "desugar_jdk_libs_nio", versi cronet-embedded = { group = "org.chromium.net", name = "cronet-embedded", version.ref = "cronetEmbedded" } cronet-okhttp = { group = "com.google.net.cronet", name = "cronet-okhttp", version.ref = "cronetOkHttp" } coil = { group = "io.coil-kt", name = "coil", version.ref="coil" } -square-leakcanary = { group = "com.squareup.leakcanary", name = "leakcanary-android", version.ref = "leakcanary" } lifecycle-viewmodel = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle" } lifecycle-runtime = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" } lifecycle-livedata = { group = "androidx.lifecycle", name = "lifecycle-livedata-ktx", version.ref = "lifecycle" }