From 0e924b7ee2810669ae7d23d8ea44ea4799247f55 Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Sat, 25 Nov 2023 03:17:55 +0100 Subject: [PATCH] Update AGP, Kotlin & Dependencies --- app/build.gradle.kts | 4 ++-- build.gradle.kts | 4 ++-- gradle/libs.versions.toml | 39 ++++++++++++++++++++++----------------- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b76c07c..a830bfa 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -3,8 +3,8 @@ plugins { kotlin("android") kotlin("kapt") kotlin("plugin.parcelize") - kotlin("plugin.serialization") version ("1.8.22") - id("com.google.devtools.ksp") version ("1.8.22-1.0.11") + kotlin("plugin.serialization") version ("1.9.20") + id("com.google.devtools.ksp") version ("1.9.20-1.0.14") } allprojects { diff --git a/build.gradle.kts b/build.gradle.kts index 1ed7e63..981eadd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,8 +4,8 @@ buildscript { google() } dependencies { - classpath("com.android.tools.build:gradle:8.0.2") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22") + classpath(libs.gradle) + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}") } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bf34018..e8e54bf 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,27 +1,29 @@ [versions] -accompanist = "0.31.4-beta" +accompanist = "0.32.0" agp = "8.3.0-alpha06" +android-gradle = "8.0.2" appcompat = "1.6.1" -browser = "1.6.0" -coil = "2.4.0" -compose = "1.5.2" -composeCompiler = "1.4.8" +browser = "1.7.0" +coil = "2.5.0" +compose = "1.5.4" +composeCompiler = "1.5.4" core-ktx = "1.12.0" -koin = "3.4.2" -koin-compiler = "1.2.2" -kotlin = "1.9.10" -ksp = "1.8.22-1.0.11" -material = "1.9.0" -material3 = "1.2.0-alpha03" +gradle = "8.1.4" +koin = "3.5.0" +koin-compiler = "1.3.0" +kotlin = "1.9.20" +ksp = "1.9.20-1.0.14" +material = "1.10.0" +material3 = "1.2.0-alpha11" moshi = "1.15.0" multidex = "2.0.1" -navigation = "2.7.3" +navigation = "2.7.5" okhttp = "5.0.0-alpha.11" retrofit = "2.9.0" rome = "2.1.0" -room = "2.5.2" -serialization = "1.8.22" -symbol-processing-api = "1.9.0-1.0.11" +room = "2.6.0" +serialization = "1.9.20" +symbol-processing-api = "1.9.20-1.0.14" swiperefreshlayout = "1.1.0" work-runtime-ktx = "2.8.1" datastore-preferences = "1.0.0" @@ -43,14 +45,17 @@ compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", versi compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview", version.ref = "compose" } core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" } datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastore-preferences" } -jsoup = { group = "org.jsoup", name = "jsoup", version = "1.16.1" } -kodein = { group = "org.kodein.di", name = "kodein-di-framework-android-x", version = "7.20.2" } +gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" } +gradle-8_0_2 = { module = "com.android.tools.build:gradle", version.ref = "android-gradle" } +jsoup = { group = "org.jsoup", name = "jsoup", version = "1.16.2" } +kodein = { group = "org.kodein.di", name = "kodein-di-framework-android-x", version = "7.21.0" } koin-android = { group = "io.insert-koin", name = "koin-android", version.ref = "koin" } koin-android-compat = { group = "io.insert-koin", name = "koin-android-compat", version.ref = "koin" } koin-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koin" } koin-ksp-compiler = { group = "io.insert-koin", name = "koin-ksp-compiler", version.ref = "koin-compiler" } koin-navigation = { group = "io.insert-koin", name = "koin-androidx-navigation", version.ref = "koin" } koin-workmanager = { group = "io.insert-koin", name = "koin-androidx-workmanager", version.ref = "koin" } +kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } lifecycle-common-java8 = { group = "androidx.lifecycle", name = "lifecycle-common-java8", version.ref = "lifecycle" } lifecycle-livedata-ktx = { group = "androidx.lifecycle", name = "lifecycle-livedata-ktx", version.ref = "lifecycle" } lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" }