Skip to content

Commit

Permalink
fix: Exclude transitive dependencies of espresso-contrib (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-jarosz authored Aug 26, 2020
1 parent d8f5db9 commit 7833b8b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions espresso-server/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,12 @@ dependencies {
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"

androidTestImplementation "androidx.annotation:annotation:$annotation_version"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espresso_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
androidTestImplementation("androidx.test.espresso:espresso-contrib:$espresso_version") {
// Exclude transitive dependencies to limit conflicts with AndroidX libraries from AUT.
// Link to PR with fix and discussion https://github.com/appium/appium-espresso-driver/pull/596
transitive = false
}
androidTestImplementation "com.google.android.material:material:1.2.0"
androidTestImplementation "androidx.test.espresso:espresso-web:$espresso_version"
androidTestImplementation "androidx.test.uiautomator:uiautomator:$uia_version"
androidTestImplementation "androidx.test:core:$testlib_version"
Expand Down

0 comments on commit 7833b8b

Please sign in to comment.