onVariants

@CallSuper
open fun onVariants(variant: Variant)

Called for each variant of the project.

The method is responsible for generating code for the specified variant.

Parameters

variant

The variant for which to generate code.