| /* |
| * Copyright 2021 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("AndroidXComposePlugin") |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| android { |
| compileSdk = 35 |
| defaultConfig { |
| applicationId = "androidx.wear.compose.integration.demos" |
| minSdk = 25 |
| versionCode = 64 |
| versionName = "1.64" |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled = true |
| shrinkResources = true |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| } |
| } |
| buildFeatures { |
| viewBinding = true |
| } |
| namespace = "androidx.wear.compose.integration.demos" |
| } |
| |
| dependencies { |
| |
| implementation("androidx.wear:wear:1.1.0") |
| |
| implementation("androidx.tracing:tracing:1.1.0") |
| |
| implementation(project(":compose:foundation:foundation")) |
| implementation(project(":compose:foundation:foundation-layout")) |
| implementation(project(":compose:integration-tests:demos:common")) |
| implementation(project(":compose:runtime:runtime")) |
| implementation(project(":compose:ui:ui")) |
| implementation(project(":compose:ui:ui-util")) |
| implementation(project(":compose:ui:ui:ui-samples")) |
| implementation("androidx.compose.material:material-icons-core:1.6.7") |
| |
| implementation(project(":wear:compose:compose-foundation")) |
| implementation(project(":wear:compose:compose-foundation-samples")) |
| implementation(project(":wear:compose:compose-material")) |
| implementation(project(":wear:compose:compose-material-samples")) |
| implementation(project(":wear:compose:compose-material3")) |
| implementation(project(":wear:compose:integration-tests:demos:common")) |
| implementation(project(":wear:compose:compose-material3-integration-tests")) |
| |
| androidTestImplementation("androidx.activity:activity:1.8.2") |
| androidTestImplementation("androidx.activity:activity-compose:1.8.2") |
| androidTestImplementation("androidx.activity:activity-ktx:1.8.2") |
| androidTestImplementation(project(":compose:runtime:runtime")) |
| androidTestImplementation(project(":compose:ui:ui-test-junit4")) |
| androidTestImplementation("androidx.lifecycle:lifecycle-runtime:2.7.0") |
| androidTestImplementation("androidx.lifecycle:lifecycle-common:2.7.0") |
| androidTestImplementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0") |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.espressoCore) |
| androidTestImplementation(libs.junit) |
| androidTestImplementation(libs.truth) |
| } |