Add gradle test devices.
This commit is contained in:
parent
f207a82d2f
commit
48c887ac03
2 changed files with 13 additions and 1 deletions
|
@ -114,6 +114,17 @@ android {
|
|||
unitTests {
|
||||
includeAndroidResources = true
|
||||
}
|
||||
|
||||
managedDevices {
|
||||
devices {
|
||||
pixel3api30 (com.android.build.api.dsl.ManagedVirtualDevice) {
|
||||
device = "Pixel 3"
|
||||
apiLevel = 30
|
||||
systemImageSource = "google-atd"
|
||||
require64Bit = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
org.gradle.jvmargs=-Xmx4096m
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
kapt.incremental.apt=false
|
||||
kapt.incremental.apt=false
|
||||
android.experimental.androidTest.numManagedDeviceShards=4
|
Loading…
Add table
Reference in a new issue