Hi! I am trying to add a processor annotation insi...
# announcements
r
Hi! I am trying to add a processor annotation inside a
build.gradle.kts
file but it keeps saying that I have mismatch types:
Type mismatch: inferred type is String but Action<KaptExtension> was expected
Copy code
plugins {
    id( "com.android.library")
    id("dev.icerock.mobile.multiplatform-resources")
    kotlin("multiplatform")
    kotlin("kapt")
}

kotlin {
  sourceSets {
     val androidMain by getting {
            dependencies {
                implementation("com.github.bumptech.glide:glide:4.11.0")
                kapt("com.github.bumptech.glide:compiler:4.11.0")
            }
        }
  }
}
Does anybody know how to use
kapt
?
m
try asking for specific support in #C19FD9681 or #C2R77UD35
r
thanks
👍 1
g
Try using ksp instead of kapt