2015-10-24 18:01:55 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
2018-03-26 22:59:11 +00:00
|
|
|
google()
|
2015-10-24 18:01:55 +00:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2015-12-02 10:32:02 +00:00
|
|
|
// http://tools.android.com/tech-docs/new-build-system/gradle-experimental
|
2017-08-10 12:03:48 +00:00
|
|
|
// https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view
|
|
|
|
// https://bintray.com/android/android-tools/com.google.gms.google-services/view
|
2019-12-18 14:02:11 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.3'
|
2015-10-24 18:01:55 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-04-27 06:56:36 +00:00
|
|
|
jcenter()
|
2018-03-27 08:37:23 +00:00
|
|
|
mavenCentral()
|
2017-06-17 08:57:10 +00:00
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
2015-10-24 18:01:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-17 12:43:59 +00:00
|
|
|
subprojects {
|
|
|
|
project.configurations.all {
|
|
|
|
resolutionStrategy.eachDependency { details ->
|
|
|
|
if (details.requested.group == 'com.android.support'
|
|
|
|
&& !details.requested.name.contains('multidex')) {
|
2018-04-27 06:56:36 +00:00
|
|
|
details.useVersion "27.1.1"
|
2017-11-17 12:43:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-24 18:01:55 +00:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|