diff --git a/AndroidTestingBlueprint/app/build.gradle b/AndroidTestingBlueprint/app/build.gradle index 62d08bf..1a7b53a 100644 --- a/AndroidTestingBlueprint/app/build.gradle +++ b/AndroidTestingBlueprint/app/build.gradle @@ -100,4 +100,8 @@ dependencies { // UIAutomator Testing. Learn about this dependency in this projects README file. androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:' + rootProject.ext.uiautomatorVersion + + // Resolve conflicts between main and test APK: + androidTestCompile "com.android.support:support-annotations:$rootProject.supportLibVersion" + } diff --git a/AndroidTestingBlueprint/build.gradle b/AndroidTestingBlueprint/build.gradle index 94b03f4..da60679 100644 --- a/AndroidTestingBlueprint/build.gradle +++ b/AndroidTestingBlueprint/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.0-alpha3' + classpath 'com.android.tools.build:gradle:2.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -20,16 +20,16 @@ allprojects { ext { minSdkVersion = 10 - targetSdkVersion = 23 - compileSdkVersion = 23 - buildToolsVersion = "23.0.2" + targetSdkVersion = 25 + compileSdkVersion = 25 + buildToolsVersion = "25.0.1" - supportLibVersion = "23.0.1" + supportLibVersion = "25.0.1" junitVersion = "4.12" mockitoVersion = "1.10.19" hamcrestVersion = "1.3" - runnerVersion = "0.4.1" - rulesVersion = "0.4.1" - espressoVersion = "2.2.1" + runnerVersion = "0.5" + rulesVersion = "0.5" + espressoVersion = "2.2.2" uiautomatorVersion = "2.1.2" } diff --git a/AndroidTestingBlueprint/gradle/wrapper/gradle-wrapper.properties b/AndroidTestingBlueprint/gradle/wrapper/gradle-wrapper.properties index 97b6946..1bbecb9 100644 --- a/AndroidTestingBlueprint/gradle/wrapper/gradle-wrapper.properties +++ b/AndroidTestingBlueprint/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Jul 06 15:19:16 BST 2015 +#Tue Dec 06 13:05:10 GMT 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip