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 | */ |
Aurimas Liutikas | 1187af1 | 2017-11-28 15:28:01 -0800 | [diff] [blame^] | 16 | |
| 17 | import static android.support.dependencies.DependenciesKt.* |
| 18 | |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 19 | apply plugin: 'com.android.application' |
| 20 | |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 21 | android { |
| 22 | compileSdkVersion tools.current_sdk |
| 23 | buildToolsVersion tools.build_tools_version |
| 24 | |
| 25 | defaultConfig { |
| 26 | minSdkVersion flatfoot.min_sdk |
| 27 | targetSdkVersion tools.current_sdk |
| 28 | versionCode 1 |
| 29 | versionName "1.0" |
| 30 | } |
Aurimas Liutikas | 8f437bf | 2017-11-14 11:06:08 -0800 | [diff] [blame] | 31 | |
| 32 | signingConfigs { |
| 33 | debug { |
| 34 | // Use a local debug keystore to avoid build server issues. |
| 35 | storeFile project.rootProject.init.debugKeystore |
| 36 | } |
| 37 | } |
| 38 | |
Chris Craik | 9fd8e61 | 2017-06-23 14:07:04 -0700 | [diff] [blame] | 39 | testOptions { |
| 40 | unitTests.returnDefaultValues = true |
| 41 | } |
| 42 | compileOptions { |
| 43 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 44 | targetCompatibility JavaVersion.VERSION_1_7 |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 49 | implementation(project(":arch:runtime")) |
| 50 | implementation(project(":arch:common")) |
| 51 | implementation(project(":paging:common")) |
| 52 | implementation(project(":lifecycle:extensions")) |
| 53 | implementation(project(":lifecycle:runtime")) |
| 54 | implementation(project(":lifecycle:common")) |
| 55 | implementation(project(":paging:runtime")) |
Aurimas Liutikas | 1187af1 | 2017-11-28 15:28:01 -0800 | [diff] [blame^] | 56 | implementation(MULTIDEX) |
| 57 | implementation(SUPPORT_RECYCLERVIEW, libs.support_exclude_config) |
| 58 | implementation(SUPPORT_APPCOMPAT, 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 |