1/*
2 * Copyright (C) 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("androidx.privacysandboxplugin")
20    id("org.jetbrains.kotlin.android")
21}
22
23android {
24    namespace = "androidx.privacysandbox.ui.integration.mediateesdkprovider"
25    compileSdk = 35
26    compileSdkExtension = 14
27
28    buildTypes {
29        release {
30            minifyEnabled = false
31        }
32    }
33
34    privacySandbox {
35        enable = true
36    }
37}
38
39dependencies {
40    api(libs.kotlinStdlib)
41    api("androidx.annotation:annotation:1.8.1")
42    implementation(project(":privacysandbox:sdkruntime:sdkruntime-provider"))
43    implementation(project(":privacysandbox:ui:ui-provider"))
44    implementation(project(":privacysandbox:ui:integration-tests:sdkproviderutils"))
45
46    // Add library dependencies at head - to override the dependencies that will be added by
47    // privacysandboxplugin.
48    ksp(project(':privacysandbox:tools:tools-apicompiler'))
49    implementation(project(':privacysandbox:tools:tools'))
50    implementation(project(":privacysandbox:ui:ui-core"))
51    implementation(project(':privacysandbox:activity:activity-core'))
52    implementation(project(':privacysandbox:activity:activity-provider'))
53}
54