From 7c5959bfe138a20701ae57f67b0f9cc5813bebee Mon Sep 17 00:00:00 2001 From: Sailesh Nepal Date: Sat, 20 Feb 2016 16:12:30 -0800 Subject: Add gradle build file for Dialer This CL adds gradle build files for Dialer. Currently the build file in the InCallUI code only builds resources. Eventually we'll want to make that a standalone library project. Things missing from this CL: - support for src-N - build target for dialer-library to be included by GoogleDialer Bug: 26676586 Change-Id: Ie91cb720cf17fd8579b04a01287e140b39d0c42f --- build.gradle | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 build.gradle (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle new file mode 100644 index 000000000..7e3424b3c --- /dev/null +++ b/build.gradle @@ -0,0 +1,34 @@ +apply plugin: 'com.android.application' + +android { + defaultConfig { + minSdkVersion 23 + targetSdkVersion 23 + multiDexEnabled true + } + + sourceSets.main { + java.srcDirs = ['src', 'src-pre-N', 'InCallUI/src'] + manifest.srcFile 'AndroidManifest.xml' + res.srcDirs = ['res'] + } +} + +dependencies { + compile 'com.android.support:support-v4:23.1.+' + compile 'com.android.support:support-v13:23.1.+' + compile 'com.android.support:appcompat-v7:23.1.+' + compile 'com.android.support:cardview-v7:23.1.+' + compile 'com.android.support:design:23.1.+' + compile 'com.android.support:recyclerview-v7:23.1.+' + + compile project(':android-common') + compile project(':guava') + compile project(':libphonenumber') + compile project(':jsr305') + compile project(':vcard') + + compile project(':ContactsCommon') + compile project(':PhoneCommon') + compile project(':InCallUI') +} -- cgit v1.2.3