buildscript {
repositories {
mavenCentral()
+ jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0'
}
}
android {
compileSdkVersion 26
- buildToolsVersion '24.0.0'
+ buildToolsVersion '26.0.0'
defaultConfig {
minSdkVersion 21
androidTest {
java.srcDirs = ['tests/src']
res.srcDirs = ['tests/res']
- manifest.srcFile "tests/AndroidManifest.xml"
+ manifest.srcFile "tests/AndroidManifest-common.xml"
}
aosp {
manifest.srcFile "AndroidManifest.xml"
}
+
+ aospAndroidTest {
+ manifest.srcFile "tests/AndroidManifest.xml"
+ }
}
}
repositories {
mavenCentral()
+ jcenter()
}
final String SUPPORT_LIBS_VERSION = '26.0.0-SNAPSHOT'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
- androidTestCompile 'com.android.support:support-annotations:23.2.0'
+ androidTestCompile "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}"
}
protobuf {