mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 11:08:31 +00:00
Add gradle test devices.
This commit is contained in:
committed by
Alex Hart
parent
f207a82d2f
commit
48c887ac03
@@ -114,6 +114,17 @@ android {
|
|||||||
unitTests {
|
unitTests {
|
||||||
includeAndroidResources = true
|
includeAndroidResources = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
managedDevices {
|
||||||
|
devices {
|
||||||
|
pixel3api30 (com.android.build.api.dsl.ManagedVirtualDevice) {
|
||||||
|
device = "Pixel 3"
|
||||||
|
apiLevel = 30
|
||||||
|
systemImageSource = "google-atd"
|
||||||
|
require64Bit = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
org.gradle.jvmargs=-Xmx4096m
|
org.gradle.jvmargs=-Xmx4096m
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
kapt.incremental.apt=false
|
kapt.incremental.apt=false
|
||||||
|
android.experimental.androidTest.numManagedDeviceShards=4
|
||||||
Reference in New Issue
Block a user