From 1b902b8e72973aebb55f01a5562ca097e51a63dd Mon Sep 17 00:00:00 2001 From: Light_summer <93428659+lightsummer233@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:32:28 +0800 Subject: [PATCH] Bump dependencies --- app/build.gradle.kts | 5 +++-- gradle/libs.versions.toml | 24 ++++++++++++++---------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 5355efc..9e8a91f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -85,13 +85,14 @@ android { dependencies { implementation(libs.androidx.core.ktx) + implementation(libs.androidx.activity.ktx) implementation(libs.androidx.appcompat) + implementation(libs.androidx.swiperefreshlayout) + implementation(libs.androidx.recyclerview) implementation(libs.androidx.webkit) - implementation(libs.material) implementation(libs.com.github.topjohnwu.libsu.core) implementation(libs.com.github.topjohnwu.libsu.service) implementation(libs.com.github.topjohnwu.libsu.io) - implementation(libs.androidx.swiperefreshlayout) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0ade0bd..72e4662 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,26 +1,30 @@ [versions] agp = "8.7.0" kotlin = "2.0.20" -coreKtx = "1.13.1" + +core = "1.13.1" +activity = "1.9.2" appcompat = "1.7.0" -material = "1.12.0" +recyclerview = "1.4.0-rc01" swiperefreshlayout = "1.1.0" -webkit = "1.12.0" +webkit = "1.12.1" +material = "1.13.0-alpha06" libsu = "6.0.0" [libraries] -androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } +androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core" } +androidx-activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "activity" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } -androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "swiperefreshlayout" } -androidx-webkit = { module = "androidx.webkit:webkit", version.ref = "webkit" } +androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" } +androidx-swiperefreshlayout = { group = "androidx.swiperefreshlayout", name = "swiperefreshlayout", version.ref = "swiperefreshlayout" } +androidx-webkit = { group = "androidx.webkit", name = "webkit", version.ref = "webkit" } + +material = { group = "com.google.android.material", name = "material", version.ref = "material" } com-github-topjohnwu-libsu-core = { group = "com.github.topjohnwu.libsu", name = "core", version.ref = "libsu" } com-github-topjohnwu-libsu-service = { group = "com.github.topjohnwu.libsu", name = "service", version.ref = "libsu" } -com-github-topjohnwu-libsu-io= { group = "com.github.topjohnwu.libsu", name = "io", version.ref = "libsu" } - -material = { group = "com.google.android.material", name = "material", version.ref = "material" } +com-github-topjohnwu-libsu-io = { group = "com.github.topjohnwu.libsu", name = "io", version.ref = "libsu" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" } jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } -