1/* 2 * Copyright (C) 2016 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} 22 23android { 24 namespace = "androidx.fragment.testapp" 25 compileSdk = 35 26} 27 28dependencies { 29 implementation(libs.kotlinStdlib) 30 implementation("androidx.annotation:annotation:1.8.1") 31 implementation("androidx.core:core-ktx:1.15.0") 32 implementation(project(":fragment:fragment-ktx")) 33 implementation("androidx.lifecycle:lifecycle-viewmodel:2.6.2") 34 implementation("androidx.transition:transition:1.5.1") 35 implementation("androidx.recyclerview:recyclerview:1.1.0") 36 debugImplementation(project(":fragment:fragment-testing-manifest")) 37 38 androidTestImplementation(project(":fragment:fragment-testing")) 39 androidTestImplementation("androidx.lifecycle:lifecycle-common:2.6.2") 40 androidTestImplementation(project(":fragment:fragment-testing-manifest")) 41 androidTestImplementation(libs.junit) 42 androidTestImplementation(libs.testExtJunit) 43 androidTestImplementation(libs.testRunner) 44 androidTestImplementation(libs.truth) 45} 46 47tasks["check"].dependsOn(tasks["connectedCheck"]) 48