Android: Update dependencies to use new format

This commit is contained in:
Greg Wicks 2017-10-27 13:06:48 -04:00
parent faad9ea5ab
commit cf57e90986
2 changed files with 10 additions and 11 deletions

View File

@ -75,22 +75,22 @@ ext {
} }
dependencies { dependencies {
compile "com.android.support:support-v13:$androidSupportVersion" api "com.android.support:support-v13:$androidSupportVersion"
compile "com.android.support:cardview-v7:$androidSupportVersion" api "com.android.support:cardview-v7:$androidSupportVersion"
compile "com.android.support:recyclerview-v7:$androidSupportVersion" api "com.android.support:recyclerview-v7:$androidSupportVersion"
compile "com.android.support:design:$androidSupportVersion" api "com.android.support:design:$androidSupportVersion"
// Android TV UI libraries. // Android TV UI libraries.
compile "com.android.support:leanback-v17:$androidSupportVersion" api "com.android.support:leanback-v17:$androidSupportVersion"
// For showing the banner as a circle a-la Material Design Guidelines // For showing the banner as a circle a-la Material Design Guidelines
compile 'de.hdodenhof:circleimageview:2.1.0' api 'de.hdodenhof:circleimageview:2.1.0'
// For loading huge screenshots from the disk. // For loading huge screenshots from the disk.
compile 'com.squareup.picasso:picasso:2.5.2' api 'com.squareup.picasso:picasso:2.5.2'
// Allows FRP-style asynchronous operations in Android. // Allows FRP-style asynchronous operations in Android.
compile 'io.reactivex:rxandroid:1.2.1' api 'io.reactivex:rxandroid:1.2.1'
} }
def getVersion() { def getVersion() {

View File

@ -1,6 +1,7 @@
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.android.tools.build:gradle:3.0.0'
@ -10,8 +11,6 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
maven { google()
url "https://maven.google.com"
}
} }
} }