OSDN Git Service

[DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast...
[android-x86/packages-apps-Launcher3.git] / build.gradle
1 buildscript {
2     repositories {
3         mavenCentral()
4     }
5     dependencies {
6         classpath 'com.android.tools.build:gradle:1.5.0'
7         classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.0'
8     }
9 }
10
11 apply plugin: 'com.android.application'
12 apply plugin: 'com.google.protobuf'
13
14 android {
15     compileSdkVersion 23
16     buildToolsVersion "22.0.1"
17
18     defaultConfig {
19         applicationId "com.android.launcher3"
20         minSdkVersion 16
21         targetSdkVersion 23
22         versionCode 1
23         versionName "1.0"
24
25         testApplicationId "com.android.launcher3.tests"
26         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
27     }
28     buildTypes {
29         debug {
30             minifyEnabled false
31         }
32     }
33     sourceSets {
34         main {
35             res.srcDirs = ['res']
36             java.srcDirs = ['src']
37             manifest.srcFile 'AndroidManifest.xml'
38             proto.srcDirs 'protos/'
39         }
40
41         androidTest {
42             java.srcDirs = ['tests/src']
43             manifest.srcFile "tests/AndroidManifest.xml"
44         }
45     }
46 }
47
48 repositories {
49     mavenCentral()
50 }
51
52 dependencies {
53     compile 'com.android.support:support-v4:23.1.1'
54     compile 'com.android.support:recyclerview-v7:23.1.1'
55     compile 'com.android.support:palette-v7:23.2.0'
56     compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2'
57     compile project(":WallpaperPicker-Lib")
58
59     testCompile 'junit:junit:4.12'
60     androidTestCompile 'com.android.support.test:runner:0.5'
61     androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
62     androidTestCompile 'com.android.support:support-annotations:23.2.0'
63 }
64
65 protobuf {
66     // Configure the protoc executable
67     protoc {
68         artifact = 'com.google.protobuf:protoc:3.0.0-alpha-3'
69     }
70 }