Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 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 | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 17 | import androidx.build.Publish |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 18 | |
| 19 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | dependencies { |
Ian Lake | 391dc4b | 2019-09-07 17:51:23 -0700 | [diff] [blame] | 25 | implementation("androidx.arch.core:core-common:2.1.0") |
| 26 | api("androidx.arch.core:core-runtime:2.1.0") |
Alan Viverette | 6c56334 | 2018-03-08 18:02:39 -0500 | [diff] [blame] | 27 | api(project(":lifecycle:lifecycle-livedata-core")) |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 28 | |
Ian Lake | 335055e | 2020-02-21 16:00:23 -0800 | [diff] [blame] | 29 | testImplementation(project(":lifecycle:lifecycle-runtime-testing")) |
Ian Lake | 391dc4b | 2019-09-07 17:51:23 -0700 | [diff] [blame] | 30 | testImplementation("androidx.arch.core:core-testing:2.1.0") |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 31 | testImplementation(libs.kotlinCoroutinesTest) |
| 32 | testImplementation(libs.junit) |
| 33 | testImplementation(libs.mockitoCore) |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 34 | } |
| 35 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 36 | androidx { |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 37 | name = "Android Lifecycle LiveData" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 38 | publish = Publish.SNAPSHOT_AND_RELEASE |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 39 | mavenGroup = LibraryGroups.LIFECYCLE |
| 40 | inceptionYear = "2017" |
| 41 | description = "Android Lifecycle LiveData" |
Jake Wharton | fc35d14 | 2018-08-04 02:28:31 -0400 | [diff] [blame] | 42 | } |