blob: a134f796b22517987ab41cba731b1b44ed927984 [file] [log] [blame]
Ian Lake557a60c2018-04-18 15:31:12 -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
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Omar Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
Ian Lake557a60c2018-04-18 15:31:12 -070025
26plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010027 id("AndroidXPlugin")
28 id("com.android.library")
sanuraed2f8fc2022-11-30 17:55:11 +000029 id("org.jetbrains.kotlin.android")
Ian Lake557a60c2018-04-18 15:31:12 -070030}
31
Sergey Vasilinets714063a2019-10-21 11:32:58 +010032android {
Omar Ismail72444772024-05-14 14:55:28 +010033 buildTypes.configureEach {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080034 consumerProguardFiles "proguard-rules.pro"
Sergey Vasilinets714063a2019-10-21 11:32:58 +010035 }
Aurimas Liutikas77952822024-12-04 18:00:17 -080036 namespace = "androidx.lifecycle.process"
Sergey Vasilinets714063a2019-10-21 11:32:58 +010037}
38
Ian Lake557a60c2018-04-18 15:31:12 -070039dependencies {
sanuraed2f8fc2022-11-30 17:55:11 +000040 api(libs.kotlinStdlib)
Ian Lake557a60c2018-04-18 15:31:12 -070041 api(project(":lifecycle:lifecycle-runtime"))
Jeremy Woods97993ad2022-02-01 17:06:11 -080042 api("androidx.startup:startup-runtime:1.1.1")
Aurimas Liutikas96f0b302024-07-25 15:49:23 -070043 api("androidx.annotation:annotation:1.8.1")
Ian Lake557a60c2018-04-18 15:31:12 -070044
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070045 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070046 testImplementation(libs.mockitoCore4)
Ian Lake557a60c2018-04-18 15:31:12 -070047}
48
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070049androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040050 name = "Lifecycle Process"
Omar Ismail86e66062024-05-03 16:10:50 +010051 type = LibraryType.PUBLISHED_LIBRARY
Ian Lake557a60c2018-04-18 15:31:12 -070052 inceptionYear = "2018"
53 description = "Android Lifecycle Process"
Ian Lake557a60c2018-04-18 15:31:12 -070054}