diff --git a/build.gradle.kts b/build.gradle.kts index 9d26cf51..be971ec8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,6 +13,7 @@ buildscript { plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) + alias(libs.plugins.kotlin.kapt) alias(libs.plugins.dependencyLicenseReport) } @@ -183,7 +184,7 @@ dependencies { implementation(libs.bcpkix.jdk15on) //For SSL certificate generation implementation(libs.classindex) - annotationProcessor(libs.classindex) + kapt(libs.classindex) // The android-smsmms library is the only way I know to handle MMS in Android // (Shouldn't a phone OS make phone things easy?) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a96d9462..9d9aa3db 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -88,4 +88,5 @@ slf4j-handroid = { group = "com.gitlab.mvysny.slf4j", name = "slf4j-handroid", v [plugins] android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } kotlin-android = { id ="org.jetbrains.kotlin.android", version.ref = "kotlin" } +kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version.ref = "dependencyLicenseReport" }