2014-07-24 00:15:11 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-12-10 19:14:43 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
2014-07-24 00:15:11 +00: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 22:52:17 +00:00
|
|
|
|
|
|
|
ext {
|
|
|
|
compileSdkVersion = 21
|
|
|
|
buildToolsVersion = "21.1.2"
|
|
|
|
}
|
|
|
|
subprojects { subproject ->
|
|
|
|
afterEvaluate{
|
|
|
|
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|