blob: 17748a634342e60f085afd80e2a294bdc9cd1a71 [file] [log] [blame]
ext {
buildToolsVersion = System.env.CUSTOM_BUILDTOOLS != null ? System.env.CUSTOM_BUILDTOOLS : '21.0.1'
}
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'
android {
compileSdkVersion 21
buildToolsVersion = rootProject.ext.buildToolsVersion
generatePureSplits true
defaultConfig {
minSdkVersion 21
ndk {
moduleName "hello-jni"
}
// This actual the app version code. Giving ourselves 1,000,000 values
versionCode = 123
}
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a', 'mips'
}
density {
enable true
exclude "ldpi", "tvdpi", "xxxhdpi"
}
}
}