Skip to content

Commit

Permalink
Setup a GMD for running instrumental test
Browse files Browse the repository at this point in the history
  • Loading branch information
Duy Phạm authored and Duy Phạm committed Nov 7, 2024
1 parent 6ebcfd6 commit c17f27b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,21 @@ android {
withSourcesJar()
}
}

testOptions {
managedDevices {
localDevices {
create("pixel2api30") {
// Use device profiles you typically see in Android Studio.
device = "Pixel 2"
// Use only API levels 27 and higher.
apiLevel = 30
// To include Google services, use "google".
systemImageSource = "aosp"
}
}
}
}
}

dependencies {
Expand Down

0 comments on commit c17f27b

Please sign in to comment.