1/*
2 * Copyright (C) 2024 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
17plugins {
18    id("AndroidXPlugin")
19    id("com.android.application")
20    id("AndroidXComposePlugin")
21    id("org.jetbrains.kotlin.android")
22}
23
24android {
25    namespace = "androidx.core.telecom.test"
26
27    defaultConfig {
28        applicationId = "androidx.core.telecom.icstest"
29        minSdk = 29 // Move down to 23 if we support CallingApp:checkDialerRole for < Q
30    }
31
32    buildTypes {
33        release {
34            minifyEnabled = true
35            shrinkResources = true
36            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
37        }
38    }
39    buildFeatures {
40        viewBinding = true
41    }
42}
43
44dependencies {
45    implementation(libs.kotlinStdlib)
46    //@Serialize
47    implementation(libs.kotlinSerializationCore)
48    // Test package
49    implementation(project(":core:core-telecom"))
50    // Compose
51    implementation("androidx.activity:activity-compose:1.9.1")
52    implementation("androidx.compose.runtime:runtime:1.7.8")
53    // Themes and Dynamic coloring
54    implementation("androidx.compose.material3:material3:1.2.1")
55    // Icons
56    implementation("androidx.compose.material:material-icons-core:1.6.8")
57    // @Preview
58    implementation("androidx.compose.ui:ui-tooling-preview:1.6.8")
59    debugImplementation("androidx.compose.ui:ui-tooling:1.6.8")
60    // Navigation
61    implementation("androidx.navigation:navigation-compose:2.7.7")
62    // collectAsStateWithLifecycle
63    implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.4")
64}
65
66