dependsOn

abstract fun dependsOn(dependencyNotation: Any)

Adds a dependency for the codegen. Use this when some types/fragments are generated in upstream modules.


abstract fun dependsOn(dependencyNotation: Any, bidirectional: Boolean)

Same as dependsOn but tries to do automatic cross-project configuration. This is highly experimental and probably not compatible with most Gradle best practices.

Use at your own risks!

Parameters

bidirectional

if true and if dependencyNotation is a project dependency, this version of dependsOn also calls isADependencyOf automatically by using cross-project configuration. This is experimental and probably not project isolation compatible.