Use jcenter repository

This commit is contained in:
Sergey Solovyev 2017-05-25 14:46:48 +02:00
parent feabaf4f1c
commit 0c777c1ec5

View File

@ -16,7 +16,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
mavenCentral() jcenter()
def androidHome = System.getenv("ANDROID_HOME") def androidHome = System.getenv("ANDROID_HOME")
maven { maven {
url "$androidHome/extras/android/m2repository/" url "$androidHome/extras/android/m2repository/"
@ -25,11 +25,6 @@ allprojects {
url "$androidHome/extras/google/m2repository/" url "$androidHome/extras/google/m2repository/"
} }
def userHome = System.getenv("HOME")
maven {
url "$userHome/.m2/repository/"
}
flatDir { flatDir {
dirs 'misc/libs' dirs 'misc/libs'
} }