1/* 2 * Copyright (C) 2018 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("androidx.baselineprofile") 22} 23 24android { 25 compileSdk = 36 26 defaultConfig { 27 applicationId = "androidx.activity.integration.testapp" 28 } 29 namespace = "androidx.activity.integration.testapp" 30} 31 32dependencies { 33 implementation(libs.kotlinCoroutinesCore) 34 implementation(project(":activity:activity")) 35 implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1") 36 implementation("androidx.appcompat:appcompat:1.6.0") 37 implementation("androidx.core:core-splashscreen:1.0.0") 38 implementation("androidx.core:core-ktx:1.13.0") 39 implementation("androidx.fragment:fragment:1.3.6") 40 implementation("androidx.lifecycle:lifecycle-common:2.6.1") 41 implementation("androidx.lifecycle:lifecycle-viewmodel:2.6.1") 42 43 // Manually align dependencies across debugRuntime and debugAndroidTestRuntime. 44 androidTestImplementation("androidx.annotation:annotation:1.8.1") 45 46 androidTestImplementation(libs.kotlinStdlib) 47 androidTestRuntimeOnly(libs.testCore) 48 androidTestRuntimeOnly(libs.testRunner) 49} 50