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.navigation" 29 minSdk = 25 30 } 31 32 buildTypes { 33 release { 34 minifyEnabled = false 35 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 36 } 37 } 38 buildFeatures { 39 viewBinding = true 40 } 41 namespace = "androidx.wear.compose.integration.navigation" 42} 43 44dependencies { 45 46 implementation("androidx.activity:activity-compose:1.5.1") 47 implementation("androidx.compose.material:material-icons-core:1.6.7") 48 implementation(project(":compose:ui:ui")) 49 implementation(project(":compose:integration-tests:demos:common")) 50 implementation(project(":compose:foundation:foundation")) 51 implementation(project(":compose:foundation:foundation-layout")) 52 implementation(project(":compose:runtime:runtime")) 53 implementation(project(":wear:compose:compose-material")) 54 implementation(project(":wear:compose:compose-material3")) 55 implementation(project(":wear:compose:compose-foundation")) 56 implementation(project(":wear:compose:compose-foundation-samples")) 57 implementation(project(":wear:compose:compose-material-samples")) 58 implementation(project(":wear:compose:compose-navigation")) 59 60 // Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath. 61 62 androidTestImplementation("androidx.lifecycle:lifecycle-common:2.8.7") 63} 64 65androidx { 66}