From a3d1ab69006bce19cd59029b32dc598422a37e00 Mon Sep 17 00:00:00 2001 From: andrewlewis Date: Tue, 29 Oct 2019 17:43:43 +0000 Subject: [PATCH] Add explicit dependency on appcompat for demo app The demo app was using this via its dependency on the material library, but it's preferable to list dependencies explicitly (otherwise the build would break if we removed the material dependency). PiperOrigin-RevId: 277316175 --- constants.gradle | 1 + demos/cast/build.gradle | 2 +- demos/main/build.gradle | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/constants.gradle b/constants.gradle index ac4e214793..3813ba3533 100644 --- a/constants.gradle +++ b/constants.gradle @@ -27,6 +27,7 @@ project.ext { jsr305Version = '3.0.2' kotlinAnnotationsVersion = '1.3.31' androidxAnnotationVersion = '1.1.0' + androidxAppCompatVersion = '1.1.0' androidxCollectionVersion = '1.1.0' androidxMediaVersion = '1.0.1' androidxTestVersion = '1.1.0' diff --git a/demos/cast/build.gradle b/demos/cast/build.gradle index ea058d95d4..69e8ddc52d 100644 --- a/demos/cast/build.gradle +++ b/demos/cast/build.gradle @@ -56,7 +56,7 @@ dependencies { implementation project(modulePrefix + 'library-smoothstreaming') implementation project(modulePrefix + 'library-ui') implementation project(modulePrefix + 'extension-cast') - implementation 'androidx.appcompat:appcompat:1.0.2' + implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'com.google.android.material:material:1.0.0' } diff --git a/demos/main/build.gradle b/demos/main/build.gradle index a4b4a46663..d03d75f077 100644 --- a/demos/main/build.gradle +++ b/demos/main/build.gradle @@ -63,6 +63,7 @@ android { dependencies { implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion + implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion implementation 'com.google.android.material:material:1.0.0' implementation project(modulePrefix + 'library-core') implementation project(modulePrefix + 'library-dash')