2014-07-24 02:15:11 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2015-05-17 18:08:59 +02:00
|
|
|
mavenCentral()
|
2014-07-24 02:15:11 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2016-05-15 02:27:37 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:2.1.0'
|
2014-07-24 02:15:11 +02:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
2015-01-06 23:52:17 +01:00
|
|
|
|
|
|
|
ext {
|
2015-08-26 22:43:00 +02:00
|
|
|
compileSdkVersion = 23
|
2015-12-23 06:51:36 +01:00
|
|
|
buildToolsVersion = "23.0.2"
|
2015-01-06 23:52:17 +01:00
|
|
|
}
|
|
|
|
subprojects { subproject ->
|
|
|
|
afterEvaluate{
|
|
|
|
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|