connectToAndroidSourceSet

abstract fun connectToAndroidSourceSet(name: String)

Connects the generated sources to the given Android source set. Throws if the Android plugin is not applied

Parameters

name

: the name of the source set. For an example, "main", "test" or "androidTest" You can also use more qualified source sets like "demo", "debug" or "demoDebug"