blob: 2e59a5d09524574c72c25071bef349fe309c31b3 [file] [log] [blame]
Aurimas Liutikasbb85fac2017-08-24 13:32:28 -07001/*
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 */
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070016
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070017import androidx.build.Publish
Yigit Boyarb18b96e2016-10-25 13:54:51 -070018
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070019plugins {
Aurimas Liutikas2cc275f2019-04-04 19:33:53 +010020 id("AndroidXPlugin")
Aurimas Liutikas05f38f22019-10-17 14:44:25 -070021 id("java-library")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070022}
Yigit Boyarb18b96e2016-10-25 13:54:51 -070023
24dependencies {
Aurimas Liutikas8a1c0392019-12-02 11:31:04 -080025 api("androidx.annotation:annotation:1.1.0")
26
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070027 testImplementation(libs.junit)
28 testImplementation(libs.mockitoCore)
Sergey Vasilinets20a12952021-08-20 15:49:17 +010029
30 constraints {
31 implementation(project(":lifecycle:lifecycle-common-java8"))
Dustin Lam45c49782022-08-22 19:11:59 +000032 implementation(projectOrArtifact(":lifecycle:lifecycle-runtime"))
Sergey Vasilinets20a12952021-08-20 15:49:17 +010033 }
Yigit Boyarb18b96e2016-10-25 13:54:51 -070034}
Sergey Vasilinets0265f0f2016-10-28 09:40:11 -070035
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070036androidx {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080037 name = "Android Lifecycle-Common"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070038 publish = Publish.SNAPSHOT_AND_RELEASE
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070039 mavenGroup = LibraryGroups.LIFECYCLE
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080040 inceptionYear = "2017"
41 description = "Android Lifecycle-Common"
Alex Saveaub50d5002020-07-14 05:25:54 +000042}