Use API 31 GMD

Change-Id: I045bb67955986395aebadacab0159234d6f1860a
pull/1060/head
Ben Weiss 4 months ago
parent 1de771384c
commit 1dfa3ebd24
No known key found for this signature in database
GPG Key ID: 8424F9C1E763A74C

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import com.android.build.api.dsl.ManagedVirtualDevice
import com.google.samples.apps.nowinandroid.configureFlavors import com.google.samples.apps.nowinandroid.configureFlavors
plugins { plugins {
@ -46,9 +47,9 @@ android {
} }
testOptions.managedDevices.devices { testOptions.managedDevices.devices {
create<com.android.build.api.dsl.ManagedVirtualDevice>("pixel6Api33") { create<ManagedVirtualDevice>("pixel6Api31") {
device = "Pixel 6" device = "Pixel 6"
apiLevel = 33 apiLevel = 31
systemImageSource = "aosp" systemImageSource = "aosp"
} }
} }
@ -59,7 +60,7 @@ android {
baselineProfile { baselineProfile {
// This specifies the managed devices to use that you run the tests on. // This specifies the managed devices to use that you run the tests on.
managedDevices += "pixel6Api33" managedDevices += "pixel6Api31"
// Don't use a connected device but rely on a GMD for consistency between local and CI builds. // Don't use a connected device but rely on a GMD for consistency between local and CI builds.
useConnectedDevices = false useConnectedDevices = false

Loading…
Cancel
Save