Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2023 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 | */ |
Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
| 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("org.jetbrains.kotlin.android") |
| 30 | } |
| 31 | |
| 32 | dependencies { |
Thomas Stuart | 28961ca | 2023-03-15 16:55:52 -0700 | [diff] [blame] | 33 | // core-telecom dependencies |
Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 34 | api(libs.kotlinStdlib) |
Thomas Stuart | e1931db1 | 2023-02-10 15:50:05 -0800 | [diff] [blame] | 35 | api(libs.guavaListenableFuture) |
Thomas Stuart | b923f5b | 2023-04-27 16:27:16 -0700 | [diff] [blame] | 36 | implementation("androidx.annotation:annotation:1.4.0") |
Brad Ebinger | 8fbe8f6 | 2023-08-21 15:52:31 -0700 | [diff] [blame] | 37 | // @OptIn annotations |
natnaelbelay | a817dd9 | 2024-01-17 10:30:59 -0500 | [diff] [blame] | 38 | api("androidx.annotation:annotation-experimental:1.4.0") |
Thomas Stuart | b923f5b | 2023-04-27 16:27:16 -0700 | [diff] [blame] | 39 | implementation("androidx.core:core:1.9.0") |
Thomas Stuart | e1931db1 | 2023-02-10 15:50:05 -0800 | [diff] [blame] | 40 | implementation(libs.kotlinCoroutinesCore) |
| 41 | implementation(libs.kotlinCoroutinesGuava) |
Brad Ebinger | c193ae9 | 2024-06-05 15:33:56 -0700 | [diff] [blame] | 42 | implementation("androidx.lifecycle:lifecycle-service:2.8.1") |
Thomas Stuart | 28961ca | 2023-03-15 16:55:52 -0700 | [diff] [blame] | 43 | // Test dependencies |
Thomas Stuart | a41cf8f | 2023-04-28 11:48:46 -0700 | [diff] [blame] | 44 | androidTestImplementation(project(":internal-testutils-common")) |
Thomas Stuart | 28961ca | 2023-03-15 16:55:52 -0700 | [diff] [blame] | 45 | androidTestImplementation(libs.kotlinStdlib) |
| 46 | androidTestImplementation(libs.testExtJunit) |
| 47 | androidTestImplementation(libs.testCore) |
| 48 | androidTestImplementation(libs.testRunner) |
| 49 | androidTestImplementation(libs.testRules) |
| 50 | androidTestImplementation(libs.truth) |
| 51 | androidTestImplementation(libs.espressoCore) |
Thomas Stuart | d626512 | 2023-05-04 11:08:37 -0700 | [diff] [blame] | 52 | androidTestImplementation(libs.kotlinCoroutinesTest) |
Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | android { |
| 56 | namespace "androidx.core.telecom" |
Brad Ebinger | 8fbe8f6 | 2023-08-21 15:52:31 -0700 | [diff] [blame] | 57 | buildFeatures { |
| 58 | aidl = true |
| 59 | } |
Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | androidx { |
| 63 | name = "androidx.core:core-telecom" |
| 64 | type = LibraryType.PUBLISHED_LIBRARY |
| 65 | mavenVersion = LibraryVersions.CORE_TELECOM |
| 66 | inceptionYear = "2023" |
| 67 | description = "Integrate VoIP calls with the Telecom framework." |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 68 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 69 | legacyDisableKotlinStrictApiMode = true |
Tyler Gunn | 02a224e | 2023-02-09 22:05:12 +0000 | [diff] [blame] | 70 | } |