Skip to content

Commit 62b0d1b

Browse files
brettchabotcopybara-androidxtest
authored andcommitted
Allow gradle testing of a new isolated monitor artifact.
It is currently planned to release a new standlone androidx.test.monitor artifact. This change explictly adds monitor to the gradle deps, so this new version can be tested while using the stable released versions of other artifacts. PiperOrigin-RevId: 856288731
1 parent 034ec33 commit 62b0d1b

5 files changed

Lines changed: 7 additions & 1 deletion

File tree

gradle-tests/espresso/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ dependencies {
4949
androidTestImplementation libs.ext.truth
5050
androidTestImplementation libs.espresso.core
5151
androidTestImplementation libs.espresso.intents
52-
52+
androidTestImplementation libs.runner
53+
androidTestImplementation libs.monitor
54+
androidTestImplementation libs.core
5355
}

gradle-tests/orchestrator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ android {
5050
dependencies {
5151
androidTestImplementation libs.ext.junit
5252
androidTestImplementation libs.runner
53+
androidTestImplementation libs.monitor
5354
androidTestImplementation libs.ext.truth
5455
androidTestUtil libs.orchestrator
5556
}

gradle-tests/runner/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ android {
4444

4545
dependencies {
4646
androidTestImplementation libs.runner
47+
androidTestImplementation libs.monitor
4748
}
4849

gradle-tests/settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencyResolutionManagement {
1919
versionCatalogs {
2020
libs {
2121
library('core', 'androidx.test:core:1.8.0-alpha01')
22+
library('monitor', 'androidx.test:monitor:1.9.0-alpha01')
2223
library('runner', 'androidx.test:runner:1.8.0-alpha01')
2324
library('ext.junit', 'androidx.test.ext:junit:1.4.0-alpha01')
2425
library('ext.truth', 'androidx.test.ext:truth:1.8.0-alpha01')

gradle-tests/settings.gradle.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencyResolutionManagement {
1818
versionCatalogs {
1919
libs {
2020
library('core', 'androidx.test:core:{CORE_VERSION}')
21+
library('monitor', 'androidx.test:monitor:{MONITOR_VERSION}')
2122
library('runner', 'androidx.test:runner:{RUNNER_VERSION}')
2223
library('ext.junit', 'androidx.test.ext:junit:{ANDROIDX_JUNIT_VERSION}')
2324
library('ext.truth', 'androidx.test.ext:truth:{ANDROIDX_TRUTH_VERSION}')

0 commit comments

Comments
 (0)