Update to gradle 3.0 style dependencies.
Use api, androidTestImplementation, and testImplementation
when specifying project dependencies.
Test: ./gradlew assemble
Change-Id: I014e51be73f3f7c086c5739c4bdbd27145a834bc
diff --git a/v7/appcompat/build.gradle b/v7/appcompat/build.gradle
index b35eb7f..073b923 100644
--- a/v7/appcompat/build.gradle
+++ b/v7/appcompat/build.gradle
@@ -1,20 +1,20 @@
apply plugin: android.support.SupportLibraryPlugin
dependencies {
- compile project(':support-annotations')
- compile project(':support-v4')
- compile project(':support-vector-drawable')
- compile project(':support-animated-vector-drawable')
+ api project(':support-annotations')
+ api project(':support-v4')
+ api project(':support-vector-drawable')
+ api project(':support-animated-vector-drawable')
- androidTestCompile (libs.test_runner) {
+ androidTestImplementation (libs.test_runner) {
exclude module: 'support-annotations'
}
- androidTestCompile (libs.espresso_core) {
+ androidTestImplementation (libs.espresso_core) {
exclude module: 'support-annotations'
}
- androidTestCompile libs.mockito_core
- androidTestCompile libs.dexmaker_mockito
- androidTestCompile project(':support-testutils')
+ androidTestImplementation libs.mockito_core
+ androidTestImplementation libs.dexmaker_mockito
+ androidTestImplementation project(':support-testutils')
}
android {