Manpreet Kunnath
06/23/2020, 9:22 AMplugins {
kotlin("kapt")
}
and
apply(plugin = "kotlin-kapt")
But when I try to add this, it doesn't work.
dependencies {
kapt(SupportLibs.ANDROID_DAGGER_HILT_COMPILER)
}
It imports "org.jetbrains.kotlin.kapt3.base.Kapt.kapt" which says
Type mismatch.
Required: KaptOptions
Found: String
Am I missing something. I'm new to Kotlin DSL in android. I've searched for it a lot but couldn't find anything. Any help would be highly appreciated. Thanks
Slack ConversationJavier
06/23/2020, 9:30 AMManpreet Kunnath
06/23/2020, 9:42 AMSaurabh
06/23/2020, 10:25 AMSaurabh
06/23/2020, 10:33 AMplugins {
kotlin("kapt")
}
dependencies {
kapt(DependencyString)
}
Saurabh
06/23/2020, 10:34 AMManpreet Kunnath
06/23/2020, 10:35 AMSaurabh
06/23/2020, 10:39 AMSaurabh
06/23/2020, 10:40 AMManpreet Kunnath
06/23/2020, 10:41 AMSaurabh
06/24/2020, 5:06 AMManpreet Kunnath
06/24/2020, 5:11 AMManpreet Kunnath
06/24/2020, 5:14 AMSaurabh
06/24/2020, 5:15 AMManpreet Kunnath
06/24/2020, 5:16 AM