Add gradle build files for Recommendations support library
Change-Id: Ic5281e29f5813d3ad0a6f7887d9233a8303b756d
diff --git a/recommendation/build.gradle b/recommendation/build.gradle
new file mode 100644
index 0000000..0a9ca47
--- /dev/null
+++ b/recommendation/build.gradle
@@ -0,0 +1,31 @@
+apply plugin: 'android-library'
+
+archivesBaseName = 'recommendation'
+
+dependencies {
+ compile project(':support-v4')
+}
+
+android {
+ compileSdkVersion 'current'
+
+ defaultConfig {
+ minSdkVersion 21
+ }
+
+ sourceSets {
+ main.manifest.srcFile 'AndroidManifest.xml'
+ main.java.srcDirs = ['src']
+ main.res.srcDirs = ['res']
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_7
+ targetCompatibility JavaVersion.VERSION_1_7
+ }
+
+ lintOptions {
+ // TODO: fix errors and reenable.
+ abortOnError false
+ }
+}
diff --git a/settings.gradle b/settings.gradle
index 6efb120..4c4ac52 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -37,6 +37,9 @@
include ':support-leanback-v17'
project(':support-leanback-v17').projectDir = new File(rootDir, 'v17/leanback')
+include ':support-recommendation'
+project(':support-recommendation').projectDir = new File(rootDir, 'recommendation')
+
include ':support-design'
project(':support-design').projectDir = new File(rootDir, 'design')