blob: 9d5a120bf5ea2f6a954c309f32d0727f70072bc3 [file] [log] [blame]
Ian Lake3f841f92017-12-14 13:49:05 -08001/*
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 Liutikas75e93a02019-05-28 16:31:38 -070017import androidx.build.Publish
Ian Lake3f841f92017-12-14 13:49:05 -080018
19plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010020 id("AndroidXPlugin")
21 id("com.android.library")
Ian Lake3f841f92017-12-14 13:49:05 -080022}
23
24dependencies {
Ian Lake391dc4b2019-09-07 17:51:23 -070025 implementation("androidx.arch.core:core-common:2.1.0")
26 api("androidx.arch.core:core-runtime:2.1.0")
Alan Viverette6c563342018-03-08 18:02:39 -050027 api(project(":lifecycle:lifecycle-livedata-core"))
Ian Lake3f841f92017-12-14 13:49:05 -080028
Ian Lake335055e2020-02-21 16:00:23 -080029 testImplementation(project(":lifecycle:lifecycle-runtime-testing"))
Ian Lake391dc4b2019-09-07 17:51:23 -070030 testImplementation("androidx.arch.core:core-testing:2.1.0")
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070031 testImplementation(libs.kotlinCoroutinesTest)
32 testImplementation(libs.junit)
33 testImplementation(libs.mockitoCore)
Ian Lake3f841f92017-12-14 13:49:05 -080034}
35
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070036androidx {
Ian Lake3f841f92017-12-14 13:49:05 -080037 name = "Android Lifecycle LiveData"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070038 publish = Publish.SNAPSHOT_AND_RELEASE
Ian Lake3f841f92017-12-14 13:49:05 -080039 mavenGroup = LibraryGroups.LIFECYCLE
40 inceptionYear = "2017"
41 description = "Android Lifecycle LiveData"
Jake Whartonfc35d142018-08-04 02:28:31 -040042}