From bf083bd3830ac293f16045335d264ef7cf2db1e6 Mon Sep 17 00:00:00 2001 From: Yash-Garg Date: Tue, 2 Jul 2024 01:18:45 +0530 Subject: [PATCH] chore: update dependencies --- build.gradle.kts | 2 +- gradle/libs.versions.toml | 38 ++++++++++++------------ gradle/wrapper/gradle-wrapper.properties | 5 ++-- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d8bb436..5d4f1d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,7 @@ plugins { alias(libs.plugins.custom.spotless) apply true } -val clean by tasks.existing(Delete::class) { delete(rootProject.buildDir) } +val clean by tasks.existing(Delete::class) { delete(rootProject.layout.buildDirectory) } afterEvaluate { tasks.prepareKotlinBuildScriptModel.dependsOn(tasks.copyGitHooks, tasks.installGitHooks) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 25ed214..d1f4992 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,45 +1,45 @@ [versions] -agp = "8.3.0-alpha14" -compose = "1.5.4" +agp = "8.5.0" +compose = "1.6.8" custom = "1.0.0" -hilt = "2.50" -kotlin = "1.9.20" -navigation = "2.7.5" +hilt = "2.51.1" +kotlin = "1.9.24" +navigation = "2.7.7" spotless = "6.25.0" [libraries] -androidx-core-ktx = "androidx.core:core-ktx:1.12.0" +androidx-core-ktx = "androidx.core:core-ktx:1.13.1" androidx-core-splashscreen = "androidx.core:core-splashscreen:1.0.1" -androidx-lifecycle-ktx = "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2" -androidx-paging = "androidx.paging:paging-runtime:3.2.1" +androidx-lifecycle-ktx = "androidx.lifecycle:lifecycle-runtime-ktx:2.8.3" +androidx-paging = "androidx.paging:paging-runtime:3.3.0" androidx-security-crypto = "androidx.security:security-crypto:1.1.0-alpha06" androidx-security-identity = "androidx.security:security-identity-credential:1.0.0-alpha03" build-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" } -compose-activity = "androidx.activity:activity-compose:1.8.1" -compose-bom = "androidx.compose:compose-bom:2023.10.01" -compose-compiler = "androidx.compose.compiler:compiler:1.5.4" +compose-activity = "androidx.activity:activity-compose:1.9.0" +compose-bom = "androidx.compose:compose-bom:2024.06.00" +compose-compiler = "androidx.compose.compiler:compiler:1.5.14" compose-constraintlayout = "androidx.constraintlayout:constraintlayout-compose:1.0.1" -compose-material = "androidx.compose.material:material:1.5.4" -compose-material-icons = "androidx.compose.material:material-icons-extended:1.5.4" -compose-material3 = "androidx.compose.material3:material3:1.1.2" +compose-material = { module = "androidx.compose.material:material", version.ref = "compose" } +compose-material-icons = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose" } +compose-material3 = "androidx.compose.material3:material3:1.2.1" compose-navigation = { module = "androidx.navigation:navigation-compose", version.ref = "navigation" } -compose-navigation-hilt = "androidx.hilt:hilt-navigation-compose:1.1.0" -compose-paging = "androidx.paging:paging-compose:3.2.1" +compose-navigation-hilt = "androidx.hilt:hilt-navigation-compose:1.2.0" +compose-paging = "androidx.paging:paging-compose:3.3.0" compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics", version.ref = "compose" } compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" } compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose" } -google-accompanist-systemuicontroller = "com.google.accompanist:accompanist-systemuicontroller:0.32.0" +google-accompanist-systemuicontroller = "com.google.accompanist:accompanist-systemuicontroller:0.34.0" google-dagger-hilt = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } google-dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } square-leakcanary = "com.squareup.leakcanary:leakcanary-android:2.12" -square-moshi = "com.squareup.moshi:moshi-kotlin:1.15.0" -square-moshi-converter = "com.squareup.retrofit2:converter-moshi:2.9.0" +square-moshi = "com.squareup.moshi:moshi-kotlin:1.15.1" +square-moshi-converter = "com.squareup.retrofit2:converter-moshi:2.11.0" square-moshi-metadata-reflect = "dev.zacsweers.moshix:moshi-metadata-reflect:0.25.1" square-okhttp-logging = "com.squareup.okhttp3:logging-interceptor:5.0.0-SNAPSHOT" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b446fa9..8a1f6b9 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionSha256Sum=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists