[go: nahoru, domu]

blob: 2b81a01d417706dd2e9b8837e47a845c3bc0386b [file] [log] [blame]
Ian Lakee30152c2018-04-18 14:12:01 -07001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
Aurimas Liutikasb63ef632019-04-01 04:37:49 -070020import androidx.build.AndroidXExtension
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070021import androidx.build.Publish
Ian Lakee30152c2018-04-18 14:12:01 -070022
23plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010024 id("AndroidXPlugin")
25 id("com.android.library")
Ian Lakee30152c2018-04-18 14:12:01 -070026}
27
Ian Lakee30152c2018-04-18 14:12:01 -070028dependencies {
29 api(project(":lifecycle:lifecycle-runtime"))
30
Dustin Lam3979d962019-04-08 10:40:19 -070031 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
32 androidTestImplementation(ANDROIDX_TEST_CORE)
33 androidTestImplementation(ANDROIDX_TEST_RUNNER)
Ian Lakeddafc3b2020-12-03 11:24:46 -080034 androidTestImplementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0")
Ian Lakee30152c2018-04-18 14:12:01 -070035}
36
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070037androidx {
Ian Lakee30152c2018-04-18 14:12:01 -070038 name = "Android Lifecycle Service"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070039 publish = Publish.SNAPSHOT_AND_RELEASE
Sergey Vasilinets071d6112018-10-04 19:32:59 +010040 mavenVersion = LibraryVersions.LIFECYCLE
Ian Lakee30152c2018-04-18 14:12:01 -070041 mavenGroup = LibraryGroups.LIFECYCLE
42 inceptionYear = "2018"
43 description = "Android Lifecycle Service"
Ian Lakee30152c2018-04-18 14:12:01 -070044}