Migrating to android-x
Bug: 112610679
Change-Id: I89b6c4e7852c89f893de5ce091b94b6894649091
diff --git a/build.gradle b/build.gradle
index b3dfd92..2148425 100755
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@
google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.0.1'
+ classpath 'com.android.tools.build:gradle:3.2.0-beta05'
}
}
@@ -62,8 +62,7 @@
}
}
-final String SUPPORT_LIBS_VERSION = '28.0.0-SNAPSHOT'
-
+final String ANDROID_X_VERSION = "1.0.0-alpha1"
repositories {
maven { url "../../../prebuilts/maven_repo/bumptech" }
@@ -74,19 +73,19 @@
}
dependencies {
- implementation "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:cardview-v7:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:appcompat-v7:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:design:${SUPPORT_LIBS_VERSION}"
- implementation "com.android.support:exifinterface:${SUPPORT_LIBS_VERSION}"
- implementation 'com.android.volley:volley:1.0.0'
+ implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
+ implementation "androidx.cardview:cardview:${ANDROID_X_VERSION}"
+ implementation "androidx.appcompat:appcompat:${ANDROID_X_VERSION}"
+ implementation "androidx.exifinterface:exifinterface:${ANDROID_X_VERSION}"
+ implementation "com.google.android.material:material:${ANDROID_X_VERSION}"
+
+ implementation 'com.android.volley:volley:1.1.0'
+
implementation 'com.github.bumptech.glide:glide:SNAPSHOT'
implementation 'com.github.bumptech.glide:disklrucache:SNAPSHOT'
implementation 'com.github.bumptech.glide:gifdecoder:SNAPSHOT'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.9.0'
-
androidTestImplementation('junit:junit:4.12')
androidTestImplementation('com.android.support.test:runner:1.0.1')
androidTestImplementation('org.robolectric:robolectric:3.4.2') {