blob: 5bb344314f628ed7406e04791d432a643347522b [file] [log] [blame]
Chris Craik9fd8e612017-06-23 14:07:04 -07001/*
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 Liutikas1187af12017-11-28 15:28:01 -080016
17import static android.support.dependencies.DependenciesKt.*
18
Chris Craik9fd8e612017-06-23 14:07:04 -070019apply plugin: 'com.android.application'
20
Chris Craik9fd8e612017-06-23 14:07:04 -070021android {
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 Liutikas8f437bf2017-11-14 11:06:08 -080031
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 Craik9fd8e612017-06-23 14:07:04 -070039 testOptions {
40 unitTests.returnDefaultValues = true
41 }
42 compileOptions {
43 sourceCompatibility JavaVersion.VERSION_1_7
44 targetCompatibility JavaVersion.VERSION_1_7
45 }
46}
47
48dependencies {
Aurimas Liutikasf4ec12f2017-11-22 12:55:43 -080049 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 Liutikas1187af12017-11-28 15:28:01 -080056 implementation(MULTIDEX)
57 implementation(SUPPORT_RECYCLERVIEW, libs.support_exclude_config)
58 implementation(SUPPORT_APPCOMPAT, libs.support_exclude_config)
Chris Craik9fd8e612017-06-23 14:07:04 -070059}
60
Chris Craik9fd8e612017-06-23 14:07:04 -070061tasks['check'].dependsOn(tasks['connectedCheck'])
62
63uploadArchives.enabled = false