connectToAndroidTestComponents
Connects the generated sources to all "test" components.
When using AGP8, this uses
android.testVariantsandandroid.unitTestVariants.When using AGP9+, this uses
variant.hostTestsandvariant.deviceTests