1/* 2 * Copyright 2024 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.privacysandbox.tools.integration.testapp" 25 26 defaultConfig { 27 applicationId = "androidx.privacysandbox.tools.integration.testapp" 28 minSdk = 33 29 compileSdk = 35 30 compileSdkExtension = 14 31 } 32 experimentalProperties["android.privacySandboxSdk.apiGenerator"] = 33 project.dependencies.create(project(":privacysandbox:tools:tools-apigenerator")) 34 experimentalProperties["android.privacySandboxSdk.apiGenerator.generatedRuntimeDependencies"] = 35 [libs.kotlinStdlib.get(), 36 libs.kotlinCoroutinesAndroid.get(), 37 libs.kotlinCoroutinesCore.get(), 38 project.dependencies.create(project(":privacysandbox:ui:ui-core")), 39 project.dependencies.create(project(":privacysandbox:ui:ui-client")) 40 ] 41 42 privacySandbox { 43 enable = true 44 } 45 testOptions { 46 animationsDisabled = true 47 } 48} 49 50dependencies { 51 implementation(project(":privacysandbox:tools:integration-tests:testsdk-asb")) 52 53 implementation(project(":privacysandbox:sdkruntime:sdkruntime-client")) 54 implementation(project(":privacysandbox:sdkruntime:sdkruntime-core")) 55 implementation(project(":privacysandbox:ui:ui-core")) 56 implementation(project(":privacysandbox:ui:ui-client")) 57 58 implementation("androidx.core:core-ktx:1.9.0") 59 implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1") 60 implementation("androidx.appcompat:appcompat:1.6.1") 61 implementation("androidx.activity:activity:1.10.1") 62 implementation(libs.material) 63 implementation(libs.constraintLayout) 64 implementation(libs.kotlinCoroutinesAndroid) 65 implementation("androidx.tracing:tracing:1.1.0") 66 implementation(libs.espressoIdlingResource) 67 68 androidTestImplementation("androidx.activity:activity:1.10.1") 69 androidTestImplementation(project(":internal-testutils-runtime")) 70 androidTestImplementation(libs.testCore) 71 androidTestImplementation(libs.testExtJunit) 72 androidTestImplementation(libs.kotlinCoroutinesTest) 73 androidTestImplementation(libs.testRunner) 74 androidTestImplementation(libs.testRules) 75 androidTestImplementation(libs.truth) 76 androidTestImplementation(libs.junit) 77 androidTestImplementation(libs.espressoCore) 78} 79