blob: 8699dba8ebc70f682193d403230f933c65e991b8 [file] [log] [blame]
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
}
}
apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "io.v.testProjectId"
minSdkVersion 23
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
splits {
density {
enable true
reset()
include 'ldpi', 'mdpi'
}
}
// Give different version codes for the density splits.
applicationVariants.all { variant ->
variant.outputs.eachWithIndex { output, i ->
output.versionCodeOverride = i + 1
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}