Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 1 | apply plugin: 'com.android.application' |
| 2 | |
| 3 | dependencies { |
| 4 | compile project(':support-appcompat-v7') |
| 5 | compile project(':support-cardview-v7') |
| 6 | compile project(':support-gridlayout-v7') |
| 7 | compile project(':support-mediarouter-v7') |
| 8 | compile project(':support-palette-v7') |
| 9 | compile project(':support-recyclerview-v7') |
| 10 | } |
| 11 | |
| 12 | android { |
| 13 | compileSdkVersion project.ext.currentSdk |
| 14 | |
| 15 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 16 | minSdkVersion 14 |
Aurimas Liutikas | 6a346f6 | 2017-06-19 12:03:30 -0700 | [diff] [blame] | 17 | targetSdkVersion project.ext.currentSdk |
Aurimas Liutikas | c9bcf8c | 2017-03-27 10:08:43 -0700 | [diff] [blame] | 18 | vectorDrawables.useSupportLibrary = true |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | sourceSets { |
| 22 | main.manifest.srcFile 'AndroidManifest.xml' |
| 23 | main.java.srcDirs = ['src'] |
| 24 | main.aidl.srcDirs = ['src'] |
| 25 | main.res.srcDirs = ['res'] |
| 26 | } |
| 27 | |
Alan Viverette | 1b86237 | 2017-03-22 11:32:28 -0400 | [diff] [blame] | 28 | signingConfigs { |
| 29 | debug { |
| 30 | // Use a local debug keystore to avoid build server issues. |
| 31 | storeFile project.rootProject.init.debugKeystore |
| 32 | } |
| 33 | } |
| 34 | |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 35 | lintOptions { |
Aurimas Liutikas | 63a2530 | 2017-01-29 13:59:43 -0800 | [diff] [blame] | 36 | abortOnError true |
Aurimas Liutikas | 624bd20 | 2017-06-15 10:44:13 -0700 | [diff] [blame] | 37 | check 'NewApi' |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | compileOptions { |
| 41 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 42 | targetCompatibility JavaVersion.VERSION_1_7 |
| 43 | } |
| 44 | } |
| 45 | |