7 classpath 'com.android.tools.build:gradle:2.3.1'
8 classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0'
12 apply plugin: 'com.android.application'
13 apply plugin: 'com.google.protobuf'
17 buildToolsVersion '26.0.0'
25 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
35 applicationId 'com.android.launcher3'
36 testApplicationId 'com.android.launcher3.tests'
42 java.srcDirs = ['src', 'src_config']
43 manifest.srcFile 'AndroidManifest-common.xml'
44 proto.srcDirs 'protos/'
48 java.srcDirs = ['tests/src']
49 res.srcDirs = ['tests/res']
50 manifest.srcFile "tests/AndroidManifest-common.xml"
54 manifest.srcFile "AndroidManifest.xml"
58 manifest.srcFile "tests/AndroidManifest.xml"
68 final String SUPPORT_LIBS_VERSION = '26.0.0-SNAPSHOT'
70 compile "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
71 compile "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
72 compile "com.android.support:palette-v7:${SUPPORT_LIBS_VERSION}"
73 compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2'
75 testCompile 'junit:junit:4.12'
76 androidTestCompile "org.mockito:mockito-core:1.+"
77 androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
78 androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
79 androidTestCompile 'com.android.support.test:runner:0.5'
80 androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
81 androidTestCompile "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}"
85 // Configure the protoc executable
87 artifact = 'com.google.protobuf:protoc:3.0.0-alpha-3'
94 option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano"
95 option "enum_style=java"