diff --git a/WordPress/build.gradle b/WordPress/build.gradle
index 00a222bcd866..799850435354 100644
--- a/WordPress/build.gradle
+++ b/WordPress/build.gradle
@@ -4,7 +4,6 @@ import se.bjurr.violations.lib.model.SEVERITY
plugins {
id "com.android.application"
id "org.jetbrains.kotlin.android"
- id "org.jetbrains.kotlin.kapt"
id "org.jetbrains.kotlin.plugin.parcelize"
id "org.jetbrains.kotlin.plugin.allopen"
id "io.sentry.android.gradle"
@@ -337,10 +336,6 @@ static def addBuildConfigFieldsFromPrefixedProperties(variant, properties, prefi
variant.buildConfigField "String", it.key.toUpperCase(), "\"${it.value}\""
}
}
-kapt {
- // Enable to infer error types in stubs (see: https://kotlinlang.org/docs/kapt.html#non-existent-type-correction)
- correctErrorTypes true
-}
dependencies {
implementation 'androidx.webkit:webkit:1.10.0'
@@ -453,7 +448,7 @@ dependencies {
exclude group: 'androidx.appcompat', module: 'appcompat'
}
implementation "com.github.bumptech.glide:glide:$glideVersion"
- kapt "com.github.bumptech.glide:compiler:$glideVersion"
+ ksp "com.github.bumptech.glide:ksp:$glideVersion"
implementation "com.github.bumptech.glide:volley-integration:$glideVersion"
implementation "com.github.indexos.media-for-mobile:domain:$indexosMediaForMobileVersion"
implementation "com.github.indexos.media-for-mobile:android:$indexosMediaForMobileVersion"
@@ -467,9 +462,9 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
}
implementation "com.google.dagger:dagger-android-support:$gradle.ext.daggerVersion"
- kapt "com.google.dagger:dagger-android-processor:$gradle.ext.daggerVersion"
+ ksp "com.google.dagger:dagger-android-processor:$gradle.ext.daggerVersion"
implementation "com.google.dagger:hilt-android:$gradle.ext.daggerVersion"
- kapt "com.google.dagger:hilt-compiler:$gradle.ext.daggerVersion"
+ ksp "com.google.dagger:hilt-compiler:$gradle.ext.daggerVersion"
testImplementation "$gradle.ext.storiesAndroidPhotoEditorPath:$automatticStoriesVersion"
@@ -526,7 +521,7 @@ dependencies {
androidTestImplementation (name:'cloudtestingscreenshotter_lib', ext:'aar') // Screenshots on Firebase Cloud Testing
androidTestImplementation "androidx.work:work-testing:$androidxWorkManagerVersion"
androidTestImplementation "com.google.dagger:hilt-android-testing:$gradle.ext.daggerVersion"
- kaptAndroidTest "com.google.dagger:hilt-android-compiler:$gradle.ext.daggerVersion"
+ kspAndroidTest "com.google.dagger:hilt-android-compiler:$gradle.ext.daggerVersion"
// Enables Java 8+ API desugaring support
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$androidDesugarVersion"
lintChecks "org.wordpress:lint:$wordPressLintVersion"
diff --git a/config/lint/lint.xml b/config/lint/lint.xml
index e779334f1bba..3985b167379f 100644
--- a/config/lint/lint.xml
+++ b/config/lint/lint.xml
@@ -19,7 +19,7 @@
-
+
@@ -63,7 +63,7 @@
-
+
diff --git a/settings.gradle b/settings.gradle
index 342adb055c3f..d9c81086d9d9 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -14,7 +14,6 @@ pluginManagement {
plugins {
id "org.jetbrains.kotlin.android" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.jvm" version gradle.ext.kotlinVersion
- id "org.jetbrains.kotlin.kapt" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.plugin.serialization" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.plugin.parcelize" version gradle.ext.kotlinVersion
id "org.jetbrains.kotlin.plugin.allopen" version gradle.ext.kotlinVersion