connectToAndroidSourceSet

Deprecated

This function is deprecated and fails with AGP9+. Use connectToAndroidVariant instead

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 example, "main", "test" or "androidTest" You can also use more qualified source sets like "demo", "debug" or "demoDebug"