Skip to content

Commit 15e6161

Browse files
committed
fix merge with refactor branch
1 parent d01cdb6 commit 15e6161

3 files changed

Lines changed: 6 additions & 28 deletions

File tree

app/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,11 @@ dependencies {
312312
// Library loading for About screen
313313
implementation libs.aboutlibraries.compose.m3
314314

315-
// Hilt
315+
// Hilt & Dagger
316316
implementation libs.hilt.android
317317
kapt(libs.hilt.compiler)
318-
// Hilt & Dagger
319-
implementation("com.google.dagger:hilt-android:2.51.1")
320-
kapt("com.google.dagger:hilt-compiler:2.51.1")
321-
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
322-
kapt("androidx.hilt:hilt-compiler:1.2.0")
318+
implementation(libs.androidx.hilt.navigation.compose)
319+
kapt(libs.androidx.hilt.compiler)
323320

324321
// Scroll
325322
implementation libs.lazycolumnscrollbar

app/src/main/java/org/schabi/newpipe/AppModule.kt

Lines changed: 0 additions & 22 deletions
This file was deleted.

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ fragment-compose = "1.8.2"
1919
gradle = "8.7.1"
2020
groupie = "2.10.1"
2121
hilt = "2.51.1"
22+
hiltCompiler = "1.2.0"
2223
jetpack-compose = "2024.10.01"
2324
jsoup = "1.17.2"
2425
junit = "4.13.2"
@@ -95,6 +96,8 @@ androidx-constraintlayout = { group = "androidx.constraintlayout", name = "const
9596
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
9697
androidx-documentfile = { group = "androidx.documentfile", name = "documentfile", version.ref = "documentFile" }
9798
androidx-fragment-compose = { group = "androidx.fragment", name = "fragment-compose", version.ref = "fragment-compose" }
99+
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "hiltCompiler" }
100+
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltCompiler" }
98101
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-junit" }
99102
androidx-lifecycle-livedata = { group = "androidx.lifecycle", name = "lifecycle-livedata-ktx", version.ref = "lifecycle" }
100103
androidx-lifecycle-viewmodel = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle" }

0 commit comments

Comments
 (0)