Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | apply plugin: 'com.android.application' |
| 17 | |
| 18 | project.ext.noDocs = true |
| 19 | |
| 20 | android { |
| 21 | compileSdkVersion tools.current_sdk |
| 22 | buildToolsVersion tools.build_tools_version |
| 23 | |
| 24 | defaultConfig { |
| 25 | minSdkVersion flatfoot.min_sdk |
| 26 | targetSdkVersion tools.current_sdk |
| 27 | versionCode 1 |
| 28 | versionName "1.0" |
| 29 | } |
Aurimas Liutikas | 8f437bf | 2017-11-14 11:06:08 -0800 | [diff] [blame] | 30 | |
| 31 | signingConfigs { |
| 32 | debug { |
| 33 | // Use a local debug keystore to avoid build server issues. |
| 34 | storeFile project.rootProject.init.debugKeystore |
| 35 | } |
| 36 | } |
| 37 | |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 38 | testOptions { |
| 39 | unitTests.returnDefaultValues = true |
| 40 | } |
| 41 | compileOptions { |
| 42 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 43 | targetCompatibility JavaVersion.VERSION_1_7 |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame^] | 48 | implementation(project(":arch:runtime")) |
| 49 | implementation(project(":arch:common")) |
| 50 | implementation(project(":paging:common")) |
| 51 | implementation(project(":lifecycle:extensions")) |
| 52 | implementation(project(":lifecycle:runtime")) |
| 53 | implementation(project(":lifecycle:common")) |
| 54 | implementation(project(":paging:runtime")) |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 55 | implementation 'com.android.support:multidex:1.0.1' |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 56 | |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 57 | implementation libs.support.recyclerview, libs.support_exclude_config |
| 58 | implementation libs.support.app_compat, libs.support_exclude_config |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 61 | tasks['check'].dependsOn(tasks['connectedCheck']) |
| 62 | |
| 63 | uploadArchives.enabled = false |