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/design/build.gradle b/design/build.gradle
index 409a233..b5a13ee 100644
--- a/design/build.gradle
+++ b/design/build.gradle
@@ -1,27 +1,27 @@
apply plugin: android.support.SupportLibraryPlugin
dependencies {
- compile project(':support-v4')
- compile project(':support-appcompat-v7')
- compile project(':support-recyclerview-v7')
- compile project(':support-transition')
+ api project(':support-v4')
+ api project(':support-appcompat-v7')
+ api project(':support-recyclerview-v7')
+ api project(':support-transition')
- 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.espresso_contrib) {
+ androidTestImplementation (libs.espresso_contrib) {
exclude group: 'com.android.support'
}
- androidTestCompile libs.mockito_core
- androidTestCompile libs.dexmaker_mockito
- androidTestCompile project(':support-testutils')
- androidTestCompile libs.multidex
+ androidTestImplementation libs.mockito_core
+ androidTestImplementation libs.dexmaker_mockito
+ androidTestImplementation project(':support-testutils')
+ androidTestImplementation libs.multidex
- testCompile libs.junit
- testCompile ("$libs.test_runner") {
+ testImplementation libs.junit
+ testImplementation (libs.test_runner) {
exclude module: 'support-annotations'
}
}