Question: do I need to create a component for each...
# kotlin-inject
f
Question: do I need to create a component for each gradle module? e.g. if I have 3 gradle modules A, B, C with the following dependencies: A -> B -> C, and I have the following classes in the modules:
Copy code
// in module C
interface C

@Inject
class CImpl

// in module B
interface B

@Inject
class BImpl(private val c: C)

// In module A
interface A 

@Inject
class AImpl(private val b: B)

@Component
abstract class AppComponent {
   val AImpl.bind: A
       @Provides get() = this

}
Is KI able to automatically link the modules, assuming that I add a gradle dependency from A->C, or not?