anvilGenerators

fun anvilGenerators(vararg generators: ProjectDependency)(source)

Dependencies for Anvil generators that should be added. These should be in the same form as they would be added to regular project dependencies.

foundry {
  features {
    dagger(...) {
      anvilGenerators(projects.libraries.foundation.anvil.injection.compiler)
    }
  }
}