summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJustin Morey <jmorey@google.com>2014-04-24 10:47:10 -0500
committerJustin Morey <jmorey@google.com>2014-04-24 11:47:15 -0500
commit25e5dbe78295353bdbc574130c03db2d8b014452 (patch)
tree733b9926c554ff76dd94bf79918fe68e469402e5 /common
parent4d33c40a72f63f297d7ba456146d36e185e15114 (diff)
downloadandroid_frameworks_ex-25e5dbe78295353bdbc574130c03db2d8b014452.tar.gz
android_frameworks_ex-25e5dbe78295353bdbc574130c03db2d8b014452.tar.bz2
android_frameworks_ex-25e5dbe78295353bdbc574130c03db2d8b014452.zip
Make logtags an official buildSrc plugin
Change-Id: I4390ac85d03bd5293af3e21aae1bd4750486d610
Diffstat (limited to 'common')
-rw-r--r--common/build.gradle30
1 files changed, 6 insertions, 24 deletions
diff --git a/common/build.gradle b/common/build.gradle
index ed3dba9..fa1388c 100644
--- a/common/build.gradle
+++ b/common/build.gradle
@@ -1,38 +1,20 @@
apply plugin: 'android-library'
+apply plugin: 'logtags'
android {
- compileSdkVersion 17
+ compileSdkVersion 19
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']
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['java']
+ logtags.srcDirs = ['java']
}
}
+
lintOptions {
// TODO: fix errors and reenable.
abortOnError false
}
}
-
-android.libraryVariants.each { variant ->
- variant.packageLibrary.baseName = "android-common"
-} \ No newline at end of file