Skip to content

Commit

Permalink
mod: use managed device
Browse files Browse the repository at this point in the history
  • Loading branch information
joeloewi7178 committed Jul 8, 2024
1 parent 80c119d commit e7af2a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions baselineprofile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ android {
testOptions {
managedDevices {
devices {
create<ManagedVirtualDevice>("pixel2Api34") {
device = "Pixel 2"
apiLevel = 34
create<ManagedVirtualDevice>("pixel6Api33") {
device = "Pixel 6"
apiLevel = 33
systemImageSource = "aosp"
}
}
}
Expand All @@ -41,7 +42,8 @@ android {
// This is the configuration block for the Baseline Profile plugin.
// You can specify to run the generators on a managed devices or connected devices.
baselineProfile {
useConnectedDevices = true
managedDevices += "pixel6Api33"
useConnectedDevices = false
}

dependencies {
Expand Down

0 comments on commit e7af2a8

Please sign in to comment.