> 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
Adam Grzybkowski
01/13/2020, 2:27 PM
try adding ktor client as compileOnly dependecy to the app module