From ffc5ac45d5fa613cfa212ab250324f45be6c97e2 Mon Sep 17 00:00:00 2001 From: Goooler Date: Sat, 2 Dec 2023 10:46:09 +0800 Subject: [PATCH 1/2] Dagger 2.49 https://github.com/google/dagger/releases/tag/dagger-2.49 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 099ba6f981..1acdad2d0b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,7 +25,7 @@ autodispose = "2.2.1" bouncycastle = "1.70" conscrypt = "2.5.2" coroutines = "1.7.3" -dagger = "2.48.1" +dagger = "2.49" diffx = "1.1.1" emoji2 = "1.3.0" espresso = "3.5.1" From 0c4c4f71e8cbf5efb3ee2776ce89cdeacd87ef13 Mon Sep 17 00:00:00 2001 From: Goooler Date: Sat, 2 Dec 2023 10:48:34 +0800 Subject: [PATCH 2/2] Replace Kapt with Ksp --- app/build.gradle | 3 +-- build.gradle | 1 - gradle/libs.versions.toml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 28943c846d..c7adf7e220 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,6 @@ plugins { alias(libs.plugins.android.application) alias(libs.plugins.google.ksp) alias(libs.plugins.kotlin.android) - alias(libs.plugins.kotlin.kapt) alias(libs.plugins.kotlin.parcelize) } @@ -147,7 +146,7 @@ dependencies { implementation libs.bundles.autodispose implementation libs.bundles.dagger - kapt libs.bundles.dagger.processors + ksp libs.bundles.dagger.processors implementation libs.sparkbutton diff --git a/build.gradle b/build.gradle index 0bdfaa6621..03f2b737d1 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,6 @@ plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.google.ksp) apply false alias(libs.plugins.kotlin.android) apply false - alias(libs.plugins.kotlin.kapt) apply false alias(libs.plugins.kotlin.parcelize) apply false alias(libs.plugins.ktlint) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1acdad2d0b..de2f048cd6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -59,7 +59,6 @@ xmlwriter = "1.0.4" android-application = { id = "com.android.application", version.ref = "agp" } google-ksp = "com.google.devtools.ksp:1.9.20-1.0.13" kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } -kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } ktlint = "org.jlleitschuh.gradle.ktlint:11.5.1"