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 | */ |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 16 | |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 17 | import androidx.build.Publish |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 18 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 19 | plugins { |
Aurimas Liutikas | 2cc275f | 2019-04-04 19:33:53 +0100 | [diff] [blame] | 20 | id("AndroidXPlugin") |
Aurimas Liutikas | 05f38f2 | 2019-10-17 14:44:25 -0700 | [diff] [blame] | 21 | id("java-library") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 22 | } |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 23 | |
| 24 | dependencies { |
Aurimas Liutikas | 8a1c039 | 2019-12-02 11:31:04 -0800 | [diff] [blame] | 25 | api("androidx.annotation:annotation:1.1.0") |
| 26 | |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 27 | testImplementation(libs.junit) |
| 28 | testImplementation(libs.mockitoCore) |
Sergey Vasilinets | 20a1295 | 2021-08-20 15:49:17 +0100 | [diff] [blame] | 29 | |
| 30 | constraints { |
| 31 | implementation(project(":lifecycle:lifecycle-common-java8")) |
Sanura N'Jaka | b671082 | 2022-08-17 20:02:11 +0000 | [diff] [blame] | 32 | implementation(project(":lifecycle:lifecycle-runtime")) |
Sergey Vasilinets | 20a1295 | 2021-08-20 15:49:17 +0100 | [diff] [blame] | 33 | } |
Yigit Boyar | b18b96e | 2016-10-25 13:54:51 -0700 | [diff] [blame] | 34 | } |
Sergey Vasilinets | 0265f0f | 2016-10-28 09:40:11 -0700 | [diff] [blame] | 35 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 36 | androidx { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 37 | name = "Android Lifecycle-Common" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 38 | publish = Publish.SNAPSHOT_AND_RELEASE |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 39 | mavenGroup = LibraryGroups.LIFECYCLE |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 40 | inceptionYear = "2017" |
| 41 | description = "Android Lifecycle-Common" |
Alex Saveau | b50d500 | 2020-07-14 05:25:54 +0000 | [diff] [blame] | 42 | } |