build: drop the unused androidTest variant so the VS Code Kotlin import works

The project has no instrumented tests. The Kotlin extension's Gradle import
reads the debugAndroidTest outputs without running their tasks and fails.
This commit is contained in:
K authored and Kurt Himebauch committed 2026-11-05 14:00:11 -05:00
1 parent cb3c3cb2c9
commit baf7d90df9
1 file changed
+6
+6
View File
@@ -249,6 +249,12 @@ android {
}
}
// No instrumented tests; the unused androidTest variant breaks the VS Code Kotlin import.
androidComponents {
beforeVariants(selector().all()) { it.androidTest.enable = false }
}
// Vendor binaries remain in the user's SDK directory; never vendor them into Git.
if (vitureSdkDir) {
android.sourceSets.main.jniLibs.srcDir(new File(vitureSdkDir, 'android'))
def stageVitureNotices = tasks.register('stageVitureNotices', Copy) {