1/*
2 * Copyright 2021 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
17
18plugins {
19    id("AndroidXPlugin")
20    id("AndroidXComposePlugin")
21    id("com.android.application")
22    id("org.jetbrains.kotlin.android")
23}
24
25android {
26    compileSdk = 35
27    defaultConfig {
28        applicationId = "androidx.wear.compose.integration.demos"
29        minSdk = 25
30        versionCode = 75
31        versionName = "1.75"
32    }
33
34    buildTypes {
35        release {
36            minifyEnabled = true
37            shrinkResources = true
38            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
39        }
40    }
41    buildFeatures {
42        viewBinding = true
43    }
44    namespace = "androidx.wear.compose.integration.demos"
45}
46
47dependencies {
48
49    implementation("androidx.wear:wear:1.1.0")
50
51    implementation("androidx.tracing:tracing:1.1.0")
52
53    implementation(project(":compose:foundation:foundation"))
54    implementation(project(":compose:foundation:foundation-layout"))
55    implementation(project(":compose:integration-tests:demos:common"))
56    implementation(project(":compose:runtime:runtime"))
57    implementation(project(":compose:ui:ui"))
58    implementation(project(":compose:ui:ui-util"))
59    implementation(project(":compose:ui:ui:ui-samples"))
60    implementation("androidx.compose.material:material-icons-core:1.6.7")
61
62    implementation(project(":wear:compose:compose-foundation"))
63    implementation(project(":wear:compose:compose-foundation-samples"))
64    implementation(project(":wear:compose:compose-material"))
65    implementation(project(":wear:compose:compose-material-samples"))
66    implementation(project(":wear:compose:compose-material3"))
67    implementation(project(":wear:compose:integration-tests:demos:common"))
68    implementation(project(":wear:compose:compose-material3-integration-tests"))
69
70    androidTestImplementation("androidx.activity:activity:1.8.2")
71    androidTestImplementation("androidx.activity:activity-compose:1.8.2")
72    androidTestImplementation("androidx.activity:activity-ktx:1.8.2")
73    androidTestImplementation(project(":compose:runtime:runtime"))
74    androidTestImplementation(project(":compose:ui:ui-test-junit4"))
75    androidTestImplementation("androidx.lifecycle:lifecycle-runtime:2.7.0")
76    androidTestImplementation("androidx.lifecycle:lifecycle-common:2.7.0")
77    androidTestImplementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
78    androidTestImplementation("androidx.core:core:1.15.0")
79    androidTestImplementation("androidx.core:core-ktx:1.15.0")
80    androidTestImplementation(libs.testCore)
81    androidTestImplementation(libs.testRules)
82    androidTestImplementation(libs.testRunner)
83    androidTestImplementation(libs.espressoCore)
84    androidTestImplementation(libs.junit)
85    androidTestImplementation(libs.truth)
86}
87
88androidx {
89}