Does anyone here have had this problem with `kapt`...
# android
t
Does anyone here have had this problem with
kapt
and
Dagger
in multi-module projects ?
Copy code
> Task :app:kaptDebugKotlin FAILED
e: error: cannot access HttpClientEngine
  class file for io.ktor.client.engine.HttpClientEngine not found
  Consult the following stack trace for details.
  com.sun.tools.javac.code.Symbol$CompletionFailure: class file for io.ktor.client.engine.HttpClientEngine not found
It seems to occur because a dependency (Ktor-client in this case) is defined as
implementation
in a different Gradle module (feature) than the one the component is created (app).
a
try adding ktor client as compileOnly dependecy to the app module