Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 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 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 17 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 18 | import android.support.LibraryGroups |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 19 | import android.support.LibraryVersions |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 20 | import android.support.SupportLibraryExtension |
| 21 | |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 22 | plugins { |
| 23 | id("SupportAndroidLibraryPlugin") |
| 24 | } |
Yigit Boyar | b96ccea | 2016-10-31 17:51:15 -0700 | [diff] [blame] | 25 | |
| 26 | android { |
Sergey Vasilinets | 1a06787 | 2017-06-21 16:27:47 -0700 | [diff] [blame] | 27 | buildTypes.all { |
| 28 | consumerProguardFiles 'proguard-rules.pro' |
| 29 | } |
Yigit Boyar | c1b53ee | 2016-11-09 15:33:52 -0800 | [diff] [blame] | 30 | } |
Sergey Vasilinets | b86bef2 | 2017-04-21 17:42:13 -0700 | [diff] [blame] | 31 | |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 32 | dependencies { |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 33 | api(project(":lifecycle:runtime")) |
| 34 | api(project(":arch:common")) |
| 35 | api(project(":arch:runtime")) |
Aurimas Liutikas | 1187af1 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 36 | api(SUPPORT_FRAGMENTS, libs.support_exclude_config) |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 37 | api(project(":lifecycle:common")) |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame^] | 38 | api(project(":lifecycle:livedata")) |
| 39 | api(project(":lifecycle:viewmodel")) |
Aurimas Liutikas | 87a16a5 | 2017-11-09 13:53:34 -0800 | [diff] [blame] | 40 | |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 41 | testImplementation(project(":arch:core-testing")) |
| 42 | testImplementation(JUNIT) |
| 43 | testImplementation(MOCKITO_CORE) |
Sergey Vasilinets | d7d9461 | 2017-03-09 22:29:54 -0800 | [diff] [blame] | 44 | |
Jake Wharton | 843419a | 2017-12-06 11:16:56 -0500 | [diff] [blame] | 45 | androidTestImplementation(TEST_RUNNER) |
| 46 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | 1187af1 | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 47 | androidTestImplementation(SUPPORT_APPCOMPAT, libs.support_exclude_config) |
Yigit Boyar | 19b4110 | 2016-11-20 10:46:32 -0800 | [diff] [blame] | 48 | } |
| 49 | |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 50 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 51 | name = "Android Lifecycle Extensions" |
| 52 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 53 | mavenVersion = LibraryVersions.LIFECYCLES_EXT |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 54 | mavenGroup = LibraryGroups.LIFECYCLE |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 55 | inceptionYear = "2017" |
| 56 | description = "Android Lifecycle Extensions" |
| 57 | url = SupportLibraryExtension.ARCHITECTURE_URL |
Aurimas Liutikas | bb85fac | 2017-08-24 13:32:28 -0700 | [diff] [blame] | 58 | } |