| /* |
| * Copyright (C) 2023 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("AndroidXComposePlugin") |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| android { |
| compileSdk = 35 |
| compileSdkExtension = 14 |
| namespace = "androidx.privacysandbox.ui.integration.testapp" |
| |
| defaultConfig { |
| applicationId = "androidx.privacysandbox.ui.integration.testapp" |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled = false |
| } |
| } |
| |
| experimentalProperties["android.privacySandboxSdk.apiGenerator"] = |
| project.dependencies.create(project(":privacysandbox:tools:tools-apigenerator")) |
| experimentalProperties["android.privacySandboxSdk.apiGenerator.generatedRuntimeDependencies"] = |
| [libs.kotlinStdlib.get(), |
| libs.kotlinCoroutinesAndroid.get(), |
| libs.kotlinCoroutinesCore.get(), |
| project.dependencies.create(project(":privacysandbox:ui:ui-core")), |
| project.dependencies.create(project(":privacysandbox:ui:ui-client")) |
| ] |
| |
| privacySandbox { |
| enable = true |
| } |
| } |
| |
| dependencies { |
| implementation(libs.kotlinStdlib) |
| api("androidx.annotation:annotation:1.8.1") |
| |
| implementation("androidx.core:core-ktx:1.8.0") |
| implementation("androidx.appcompat:appcompat:1.6.0") |
| implementation("com.google.android.material:material:1.6.0") |
| implementation("androidx.activity:activity-ktx:1.7.2") |
| implementation("androidx.drawerlayout:drawerlayout:1.2.0") |
| implementation("androidx.constraintlayout:constraintlayout:2.0.1") |
| implementation("androidx.recyclerview:recyclerview:1.3.2") |
| implementation("androidx.compose.material3:material3:1.3.1") |
| implementation(project(":privacysandbox:activity:activity-core")) |
| implementation(project(":privacysandbox:activity:activity-client")) |
| implementation(project(":privacysandbox:sdkruntime:sdkruntime-client")) |
| implementation(project(":privacysandbox:ui:integration-tests:inappmediateeadaptersdk")) |
| implementation(project(":privacysandbox:ui:integration-tests:sdkproviderutils")) |
| implementation(project(":privacysandbox:ui:integration-tests:testsdkproviderwrapper")) |
| implementation(project(":privacysandbox:ui:ui-client")) |
| implementation(project(":privacysandbox:ui:ui-client-compose")) |
| implementation(project(":privacysandbox:ui:ui-provider")) |
| implementation(libs.media3Ui) |
| implementation(libs.media3Common) |
| implementation(libs.media3Exoplayer) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.truth) |
| androidTestImplementation(libs.espressoIntents) |
| androidTestImplementation(libs.espressoCore) |
| androidTestImplementation(libs.testUiautomator) |
| } |