Просмотр исходного кода

use same version for all espresso releases

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 лет назад
Родитель
Сommit
9b3f4cd532
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      build.gradle

+ 4 - 3
build.gradle

@@ -64,6 +64,7 @@ ext {
     prismVersion = "2.0.0"
     butterknifeVersion = "10.2.3"
     androidLibraryVersion = "master-SNAPSHOT"
+    espressoVersion = "3.3.0"
 
     travisBuild = System.getenv("TRAVIS") == "true"
 
@@ -372,9 +373,9 @@ dependencies {
     androidTestUtil 'androidx.test:orchestrator:1.3.0'
 
     // Espresso core
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
-    androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.3.0'
-    androidTestImplementation 'androidx.test.espresso:espresso-web:3.2.0'
+    androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
+    androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
+    androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
 
     // Mocking support
     androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older