[go: nahoru, domu]

blob: e5b92f47a684ecd93e6704ed61877f2780896a27 [file] [log] [blame]
Tyler Gunn02a224e2023-02-09 22:05:12 +00001/*
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 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 */
Tyler Gunn02a224e2023-02-09 22:05:12 +000024import androidx.build.LibraryType
25
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29 id("org.jetbrains.kotlin.android")
30}
31
32dependencies {
Thomas Stuart28961ca2023-03-15 16:55:52 -070033 // core-telecom dependencies
Tyler Gunn02a224e2023-02-09 22:05:12 +000034 api(libs.kotlinStdlib)
Thomas Stuarte1931db12023-02-10 15:50:05 -080035 api(libs.guavaListenableFuture)
Thomas Stuartb923f5b2023-04-27 16:27:16 -070036 implementation("androidx.annotation:annotation:1.4.0")
Brad Ebinger8fbe8f62023-08-21 15:52:31 -070037 // @OptIn annotations
natnaelbelaya817dd92024-01-17 10:30:59 -050038 api("androidx.annotation:annotation-experimental:1.4.0")
Thomas Stuartb923f5b2023-04-27 16:27:16 -070039 implementation("androidx.core:core:1.9.0")
Thomas Stuarte1931db12023-02-10 15:50:05 -080040 implementation(libs.kotlinCoroutinesCore)
41 implementation(libs.kotlinCoroutinesGuava)
Brad Ebingerc193ae92024-06-05 15:33:56 -070042 implementation("androidx.lifecycle:lifecycle-service:2.8.1")
Thomas Stuart28961ca2023-03-15 16:55:52 -070043 // Test dependencies
Thomas Stuarta41cf8f2023-04-28 11:48:46 -070044 androidTestImplementation(project(":internal-testutils-common"))
Thomas Stuart28961ca2023-03-15 16:55:52 -070045 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 Stuartd6265122023-05-04 11:08:37 -070052 androidTestImplementation(libs.kotlinCoroutinesTest)
Tyler Gunn02a224e2023-02-09 22:05:12 +000053}
54
55android {
56 namespace "androidx.core.telecom"
Brad Ebinger8fbe8f62023-08-21 15:52:31 -070057 buildFeatures {
58 aidl = true
59 }
Tyler Gunn02a224e2023-02-09 22:05:12 +000060}
61
62androidx {
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 Jeon999075e2023-08-22 00:40:11 -070068 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070069 legacyDisableKotlinStrictApiMode = true
Tyler Gunn02a224e2023-02-09 22:05:12 +000070}