6 classpath 'com.android.tools.build:gradle:2.2.3'
7 classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0'
11 apply plugin: 'com.android.application'
12 apply plugin: 'com.google.protobuf'
16 buildToolsVersion '24.0.0'
24 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
34 applicationId 'com.android.launcher3'
35 testApplicationId 'com.android.launcher3.tests'
41 java.srcDirs = ['src', 'src_config']
42 manifest.srcFile 'AndroidManifest-common.xml'
43 proto.srcDirs 'protos/'
47 java.srcDirs = ['tests/src']
48 res.srcDirs = ['tests/res']
49 manifest.srcFile "tests/AndroidManifest.xml"
53 manifest.srcFile "AndroidManifest.xml"
62 final String SUPPORT_LIBS_VERSION = '26.0.0-SNAPSHOT'
64 compile "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
65 compile "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
66 compile "com.android.support:palette-v7:${SUPPORT_LIBS_VERSION}"
67 compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2'
69 testCompile 'junit:junit:4.12'
70 androidTestCompile "org.mockito:mockito-core:1.+"
71 androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
72 androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
73 androidTestCompile 'com.android.support.test:runner:0.5'
74 androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
75 androidTestCompile 'com.android.support:support-annotations:23.2.0'
79 // Configure the protoc executable
81 artifact = 'com.google.protobuf:protoc:3.0.0-alpha-3'
88 option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano"
89 option "enum_style=java"