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/wear/build.gradle b/wear/build.gradle
index efdf0b6..4317cfc 100644
--- a/wear/build.gradle
+++ b/wear/build.gradle
@@ -1,18 +1,19 @@
apply plugin: android.support.SupportLibraryPlugin
dependencies {
- compile project(':support-annotations')
- compile project(':support-core-ui')
- compile project(':support-percent')
- compile project(':support-recyclerview-v7')
- androidTestCompile (libs.test_runner) {
+ api project(':support-annotations')
+ api project(':support-core-ui')
+ api project(':support-percent')
+ api project(':support-recyclerview-v7')
+
+ 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
+ androidTestImplementation libs.mockito_core
+ androidTestImplementation libs.dexmaker_mockito
}
android {