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