1/* 2 * Copyright (C) 2022 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("org.jetbrains.kotlin.android") 21 id("AndroidXComposePlugin") 22} 23 24dependencies { 25 api(libs.jspecify) 26 implementation(libs.kotlinStdlib) 27 implementation(libs.androidx.annotation) 28 implementation("androidx.core:core:1.6.0") 29 30 implementation("androidx.activity:activity-compose:1.10.1") 31 implementation(project(":compose:foundation:foundation")) 32 implementation(project(":compose:foundation:foundation-layout")) 33 implementation(project(":compose:material:material")) 34 implementation(project(":compose:runtime:runtime")) 35 implementation(project(":compose:ui:ui")) 36 implementation(project(":compose:ui:ui-graphics")) 37 implementation(project(":compose:ui:ui-text")) 38 implementation(project(":compose:ui:ui-unit")) 39 40 androidTestImplementation(project(":test:uiautomator:uiautomator")) 41 androidTestImplementation(libs.testCore) 42 androidTestImplementation(libs.testExtJunit) 43 androidTestImplementation(libs.testRunner) 44 androidTestImplementation(project(":kruth:kruth")) 45 46 // Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath. 47 48 androidTestImplementation("androidx.lifecycle:lifecycle-common:2.8.7") 49 androidTestImplementation(libs.junit) 50 androidTestImplementation(libs.testMonitor) 51} 52 53android { 54 compileSdk = 35 55 namespace = "androidx.test.uiautomator.testapp" 56} 57