2018-09-11 22:27:47 +00:00
|
|
|
// Copyright (c) Facebook, Inc. and its affiliates.
|
2018-05-31 22:31:03 +00:00
|
|
|
|
|
|
|
// This source code is licensed under the MIT license found in the
|
|
|
|
// LICENSE file in the root directory of this source tree.
|
2015-09-14 14:35:58 +00:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenLocal()
|
2018-08-23 06:12:41 +00:00
|
|
|
google()
|
2015-09-14 14:35:58 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-08-23 06:12:41 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
2018-06-14 23:59:40 +00:00
|
|
|
classpath 'de.undercouch:gradle-download-task:3.4.3'
|
2015-09-14 14:35:58 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenLocal()
|
2018-08-23 06:12:41 +00:00
|
|
|
google()
|
2016-04-21 12:06:29 +00:00
|
|
|
|
|
|
|
def androidSdk = System.getenv("ANDROID_SDK")
|
|
|
|
maven {
|
|
|
|
url "$androidSdk/extras/m2repository/"
|
|
|
|
}
|
2015-09-14 14:35:58 +00:00
|
|
|
}
|
|
|
|
}
|
2018-08-08 21:50:31 +00:00
|
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
|
|
|
gradleVersion = '4.4'
|
|
|
|
distributionUrl = distributionUrl.replace("bin", "all")
|
|
|
|
}
|