Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -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 | 7baa81d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 16 | |
| 17 | import static android.support.dependencies.DependenciesKt.* |
| 18 | |
Aurimas Liutikas | ec0edfc | 2017-12-20 10:03:39 -0800 | [diff] [blame] | 19 | plugins { |
| 20 | id("SupportAndroidTestAppPlugin") |
| 21 | } |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 22 | |
| 23 | project.ext.noDocs = true |
| 24 | |
Rahul Ravikumar | c7824d1 | 2018-03-12 16:47:28 -0700 | [diff] [blame] | 25 | android { |
| 26 | buildTypes { |
| 27 | getByName("release") { |
| 28 | minifyEnabled = true |
| 29 | proguardFiles("proguard-rules.pro") |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 34 | dependencies { |
Xyan Bhatnagar | c5c83e1 | 2017-10-11 15:35:05 -0700 | [diff] [blame] | 35 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 36 | compile project(':arch:runtime') |
| 37 | compile project(':arch:common') |
Sumir Kataria | 76fdf4b | 2018-03-09 14:13:38 -0800 | [diff] [blame] | 38 | compile project(':work:work-runtime') |
| 39 | compile project(':work:work-firebase') |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 40 | compile project(':lifecycle:extensions') |
| 41 | compile project(':lifecycle:runtime') |
| 42 | compile project(':lifecycle:common') |
| 43 | compile project(':room:runtime') |
Sumir Kataria | e89fa65 | 2017-10-04 15:00:44 -0700 | [diff] [blame] | 44 | annotationProcessor project(":room:compiler") |
Aurimas Liutikas | 7baa81d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 45 | compile(MULTIDEX) |
| 46 | compile(SUPPORT_RECYCLERVIEW, libs.support_exclude_config) |
| 47 | compile(SUPPORT_APPCOMPAT, libs.support_exclude_config) |
| 48 | compile(SUPPORT_DESIGN, libs.support_exclude_config) |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 49 | } |
| 50 | |
Sumir Kataria | 6c2d3a1 | 2017-09-21 15:55:25 -0700 | [diff] [blame] | 51 | tasks['check'].dependsOn(tasks['connectedCheck']) |
| 52 | |
| 53 | uploadArchives.enabled = false |