Created
February 11, 2022 16:29
-
-
Save oliverspryn/3fbcdd9d942024a9412258fed02aff4f to your computer and use it in GitHub Desktop.
Gradle managed devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
testOptions { | |
devices { | |
pixel2api29 (com.android.build.api.dsl.ManagedVirtualDevice) { | |
device = "Pixel 2" | |
apiLevel = 29 | |
systemImageSource = "google" | |
abi = "x86" | |
} | |
nexus9api30 (com.android.build.api.dsl.ManagedVirtualDevice) { | |
// ... | |
} | |
} | |
deviceGroups { | |
phoneAndTablet { | |
targetDevices.addAll(devices.pixel2api29, devices.nexus9api30) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment