DependsOn

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DependsOn(val value: KClass<out Pass<*>>, val softDependency: Boolean = false)

Register a dependency for the annotated pass. This ensures that:

  • the annotated pass is executed after its dependency when softDependency is false:

  • the dependency is added to the list of active passes even if not manually specified by the user when softDependencyis true:

  • the dependency is not added to the list of active passes - the order is only enforced if the user manually adds the pass

Properties

Link copied to clipboard
val softDependency: Boolean = false
Link copied to clipboard
val value: KClass<out Pass<*>>