Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 | |
| 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.LibraryGroups |
| 19 | import androidx.build.LibraryVersions |
Aurimas Liutikas | b63ef63 | 2019-04-01 04:37:49 -0700 | [diff] [blame] | 20 | import androidx.build.AndroidXExtension |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 21 | import androidx.build.Publish |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 22 | |
| 23 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 24 | id("AndroidXPlugin") |
| 25 | id("com.android.library") |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 26 | } |
| 27 | |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 28 | dependencies { |
| 29 | api(project(":lifecycle:lifecycle-runtime")) |
| 30 | |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 31 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 32 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 33 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
Ian Lake | ddafc3b | 2020-12-03 11:24:46 -0800 | [diff] [blame] | 34 | androidTestImplementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0") |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 35 | } |
| 36 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 37 | androidx { |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 38 | name = "Android Lifecycle Service" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 39 | publish = Publish.SNAPSHOT_AND_RELEASE |
Sergey Vasilinets | 071d611 | 2018-10-04 19:32:59 +0100 | [diff] [blame] | 40 | mavenVersion = LibraryVersions.LIFECYCLE |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 41 | mavenGroup = LibraryGroups.LIFECYCLE |
| 42 | inceptionYear = "2018" |
| 43 | description = "Android Lifecycle Service" |
Ian Lake | e30152c | 2018-04-18 14:12:01 -0700 | [diff] [blame] | 44 | } |