blob: d5e6aee42f0eadd587edced7fa346923d56dbdbe [file] [log] [blame]
apply plugin: android.support.SupportLibraryPlugin
archivesBaseName = 'support-compat'
dependencies {
compile project(':support-annotations')
androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
exclude module: 'support-annotations'
}
androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") {
exclude module: 'support-annotations'
}
androidTestCompile 'org.mockito:mockito-core:1.9.5'
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
testCompile 'junit:junit:4.12'
}
android {
compileSdkVersion project.ext.currentSdk
defaultConfig {
minSdkVersion 14
}
sourceSets {
main.java.srcDirs = [
'gingerbread',
'honeycomb',
'honeycomb_mr1',
'honeycomb_mr2',
'ics',
'ics-mr1',
'jellybean',
'jellybean-mr1',
'jellybean-mr2',
'kitkat',
'api20',
'api21',
'api22',
'api23',
'api24',
'api26',
'java'
]
main.aidl.srcDirs = ['java']
}
}
supportLibrary {
name 'Android Support Library compat'
inceptionYear '2015'
description "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 4 or later."
}