Skip to content

Commit 4daa3a3

Browse files
committed
Migrate to Gradle 9
1 parent 0f51e1f commit 4daa3a3

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

app/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
22
alias(libs.plugins.android.application)
3-
alias(libs.plugins.kotlin.android)
43
alias(libs.plugins.compose.compiler)
54
alias(libs.plugins.kotlin.parcelize)
65
alias(libs.plugins.navigation.safeargs)
@@ -101,7 +100,6 @@ dependencies {
101100

102101
testImplementation(libs.junit)
103102
testImplementation(libs.truth)
104-
implementation(libs.androidx.multidex)
105103

106104
androidTestImplementation(libs.junit)
107105
androidTestImplementation(libs.truth)

app/src/main/java/com/amrdeveloper/linkhub/ui/explorer/ExplorerViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class LinkListViewModel @Inject constructor(
4848
initialValue = LazyValue(data = listOf(), isLoading = true)
4949
)
5050

51+
@OptIn(ExperimentalCoroutinesApi::class)
5152
val sortedLinksState: StateFlow<LazyValue<List<Link>>> =
5253
combine(currentFolderId, searchQuery) { folderId, query ->
5354
QueryParam(folderId, query)

gradle/libs.versions.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
kotlin = "2.3.0"
3-
androidGradlePlugin = "8.13.2"
3+
androidGradlePlugin = "9.0.0"
44
compileSdk = "36"
55
targetSdk = "36"
66
minSdk = "23"
@@ -14,13 +14,12 @@ appcompat = "1.7.1"
1414
fragment-ktx = "1.8.9"
1515
core-ktx = "1.17.0"
1616
material = "1.13.0"
17-
multidex = "2.0.1"
1817
lifecycle-livedata-ktx = "2.10.0"
1918
navigation-fragment-ktx = "2.9.6"
2019
navigation-safeargs = "2.9.6"
2120
room = "2.8.4"
2221
paging = "3.4.0"
23-
hilt = "2.57.2"
22+
hilt = "2.59.1"
2423
legacy_support = "1.0.0"
2524

2625
kotlinx-coroutines = "1.10.2"
@@ -48,7 +47,6 @@ androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref
4847
androidx-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
4948
androidx-lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "lifecycle-livedata-ktx" }
5049
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle-livedata-ktx" }
51-
androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "multidex" }
5250
androidx-navigation-fragment-ktx = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "navigation-fragment-ktx" }
5351
androidx-navigation-ui-ktx = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "navigation-fragment-ktx" }
5452
kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Sun Feb 23 20:00:02 CET 2025
1+
#Sat Feb 07 14:00:51 CET 2026
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)