Merge pull request #5475 from Isira-Seneviratne/Improve_baseline

Update baseline profile configuration
This commit is contained in:
Isira Seneviratne 2024-01-11 21:59:18 +05:30 committed by GitHub
commit 135672c09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {