connectToAndroidVariant

abstract fun connectToAndroidVariant(variant: BaseVariant)

Connects the generated sources to the given Android variant. This will look up the most specific source set used by this variant. For an example, "demoDebug"