Update baseline config

This commit is contained in:
Isira Seneviratne 2024-01-09 12:17:53 +05:30
parent 105d460e1a
commit c27cb59ee7

View File

@ -28,21 +28,21 @@ android {
targetProjectPath = ":app"
// testOptions.managedDevices.devices {
// create<ManagedVirtualDevice>("pixel6Api34") {
// device = "Pixel 6"
// apiLevel = 34
// systemImageSource = "google"
// }
// }
testOptions.managedDevices.devices {
create<ManagedVirtualDevice>("pixel6Api34") {
device = "Pixel 6"
apiLevel = 34
systemImageSource = "google"
}
}
}
// This is the configuration block for the Baseline Profile plugin.
// You can specify to run the generators on a managed devices or connected devices.
// For connected devices, API 28+ (rooted) or 33+ (not rooted) is required.
baselineProfile {
// managedDevices += "pixel6Api34"
useConnectedDevices = true
managedDevices += "pixel6Api34"
useConnectedDevices = false
}
dependencies {