Ian Lake | 557a60c | 2018-04-18 15:31:12 -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 | |
Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 25 | |
| 26 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
sanura | ed2f8fc | 2022-11-30 17:55:11 +0000 | [diff] [blame] | 29 | id("org.jetbrains.kotlin.android") |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 30 | } |
| 31 | |
Sergey Vasilinets | 714063a | 2019-10-21 11:32:58 +0100 | [diff] [blame] | 32 | android { |
Omar Ismail | 7244477 | 2024-05-14 14:55:28 +0100 | [diff] [blame] | 33 | buildTypes.configureEach { |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 34 | consumerProguardFiles "proguard-rules.pro" |
Sergey Vasilinets | 714063a | 2019-10-21 11:32:58 +0100 | [diff] [blame] | 35 | } |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 36 | namespace = "androidx.lifecycle.process" |
Sergey Vasilinets | 714063a | 2019-10-21 11:32:58 +0100 | [diff] [blame] | 37 | } |
| 38 | |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 39 | dependencies { |
sanura | ed2f8fc | 2022-11-30 17:55:11 +0000 | [diff] [blame] | 40 | api(libs.kotlinStdlib) |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 41 | api(project(":lifecycle:lifecycle-runtime")) |
Jeremy Woods | 97993ad | 2022-02-01 17:06:11 -0800 | [diff] [blame] | 42 | api("androidx.startup:startup-runtime:1.1.1") |
Aurimas Liutikas | 96f0b30 | 2024-07-25 15:49:23 -0700 | [diff] [blame] | 43 | api("androidx.annotation:annotation:1.8.1") |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 44 | |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 45 | testImplementation(libs.junit) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 46 | testImplementation(libs.mockitoCore4) |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 47 | } |
| 48 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 49 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 50 | name = "Lifecycle Process" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 51 | type = LibraryType.PUBLISHED_LIBRARY |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 52 | inceptionYear = "2018" |
| 53 | description = "Android Lifecycle Process" |
Ian Lake | 557a60c | 2018-04-18 15:31:12 -0700 | [diff] [blame] | 54 | } |