blob: ed3dba9da221b86872f62c36d14012f75b93b914 [file] [log] [blame]
apply plugin: 'android-library'
android {
compileSdkVersion 17
buildToolsVersion = '19.0.1'
logtags {
srcDirs = ['java']
genDir = "$buildDir/source/generated"
}
sourceSets {
main {
manifest {
srcFile "AndroidManifest.xml"
}
java {
srcDirs = [
'java',
"$buildDir/source/generated"
]
}
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
lintOptions {
// TODO: fix errors and reenable.
abortOnError false
}
}
android.libraryVariants.each { variant ->
variant.packageLibrary.baseName = "android-common"
}