blob: 3d5f058b5281096f0e211f9c9b798c4b364aafbb [file] [log] [blame]
ext {
buildToolsVersion = System.env.CUSTOM_BUILDTOOLS != null ? System.env.CUSTOM_BUILDTOOLS : (project.hasProperty("CUSTOM_BUILDTOOLS") ? project.CUSTOM_BUILDTOOLS : '20.0.0')
useJack = System.env.CUSTOM_JACK != null ? true : (project.hasProperty("CUSTOM_JACK") ? true : false)
}
buildscript {
def gradleVersion = System.env.CUSTOM_GRADLE != null ? System.env.CUSTOM_GRADLE : '1.1.0'
repositories {
if (System.env.CUSTOM_REPO != null) {
maven { url System.env.CUSTOM_REPO }
} else {
mavenCentral()
}
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
}
}
apply plugin: 'com.android.application'
repositories {
jcenter()
}
android {
compileSdkVersion 21
buildToolsVersion = rootProject.ext.buildToolsVersion
defaultConfig {
versionCode 12
versionName "2.0"
minSdkVersion 16
targetSdkVersion 16
}
}
dependencies {
compile 'com.google.guava:guava:18.0'
// this is added by the test to control the version.
//androidTestCompile 'com.google.guava:guava:x.y'
}