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/customtabs/build.gradle b/customtabs/build.gradle
index b623b16..17e8cb9 100644
--- a/customtabs/build.gradle
+++ b/customtabs/build.gradle
@@ -1,18 +1,16 @@
apply plugin: android.support.SupportLibraryPlugin
dependencies {
- compile project(':support-compat')
- compile project(':support-annotations')
+ api project(':support-compat')
+ api project(':support-annotations')
- 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 project(':support-testutils')
+ androidTestImplementation project(':support-testutils')
}
android {