Senior Software Engineer @ Acorns
testOptions {
devices {
pixel2api29 (com.android.build.api.dsl.ManagedVirtualDevice) {
device = "Pixel 2"
apiLevel = 29
systemImageSource = "google"
abi = "x86"
}
nexus9api30 (com.android.build.api.dsl.ManagedVirtualDevice) {
device = "Nexus 9"
apiLevel = 30
systemImageSource = "google"
abi = "x86"
}
}
deviceGroups {
phoneAndTablet {
targetDevices.addAll(devices.pixel2api29, devices.nexus9api30)
}
}
}
// ./gradlew -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true
//. phoneAndTabletGroupDebugAndroidTest
// ./gradlew -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true
// pixel2api29DebugAndroidTest