[go: nahoru, domu]

blob: 932b5694de7e721c7cf026d38411c5e4557916bb [file] [log] [blame]
Mugdha Lakhanif17cbd52022-10-19 13:49:24 +00001/*
2 * Copyright (C) 2022 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
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Mugdha Lakhanif17cbd52022-10-19 13:49:24 +000024import androidx.build.LibraryType
25
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29 id("org.jetbrains.kotlin.android")
30}
31
32dependencies {
33 api(libs.kotlinStdlib)
RafayKamranafed3d32023-01-24 21:54:58 +000034 api("androidx.annotation:annotation:1.1.0")
Lucas Tenório90809fa2023-04-21 16:59:14 +010035
Aurimas Liutikas7afe1d42023-11-09 11:02:02 -080036 implementation("androidx.core:core:1.12.0")
Lucas Tenórioa66156a2023-06-28 14:22:07 +010037
Aurimas Liutikas36de1fe2023-11-29 15:12:02 -080038 implementation("androidx.lifecycle:lifecycle-common:2.6.2")
Gavin Corkery9dd3c652023-09-11 14:29:24 +000039 implementation("androidx.privacysandbox.sdkruntime:sdkruntime-client:1.0.0-alpha08")
Aurimas Liutikas11a97d82024-02-12 11:38:28 -080040 implementation("androidx.customview:customview-poolingcontainer:1.0.0")
41 implementation(project(":privacysandbox:ui:ui-core"))
Lucas Tenório90809fa2023-04-21 16:59:14 +010042
RafayKamran7d78ee42023-01-05 12:23:53 +000043 androidTestImplementation(project(":internal-testutils-runtime"))
44 androidTestImplementation(libs.junit)
45 androidTestImplementation(libs.kotlinStdlib)
46 androidTestImplementation(libs.testExtJunit)
47 androidTestImplementation(libs.testCore)
48 androidTestImplementation(libs.testRunner)
49 androidTestImplementation(libs.testRules)
50 androidTestImplementation(libs.truth)
Lucas Tenório90809fa2023-04-21 16:59:14 +010051 androidTestImplementation(libs.espressoIntents)
52 androidTestImplementation(libs.espressoCore)
53 androidTestImplementation(libs.mockitoCore)
Gavin Corkery51413f62023-09-04 15:02:41 +000054 androidTestImplementation(libs.testUiautomator)
Gavin Corkeryfb4d8a42023-04-06 15:07:54 +000055 androidTestImplementation project(path: ':appcompat:appcompat')
Gavin Corkery59165aa2024-04-26 10:43:54 +000056 androidTestImplementation project(":privacysandbox:ui:ui-provider")
Mugdha Lakhanif17cbd52022-10-19 13:49:24 +000057}
58
59android {
60 namespace "androidx.privacysandbox.ui.client"
61}
62
63androidx {
64 name = "androidx.privacysandbox.ui:ui-client"
65 type = LibraryType.PUBLISHED_LIBRARY
Mugdha Lakhanif17cbd52022-10-19 13:49:24 +000066 inceptionYear = "2022"
67 description = "show UI from an SDKRuntime aware SDK"
Jinseong Jeon999075e2023-08-22 00:40:11 -070068 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070069 legacyDisableKotlinStrictApiMode = true
Mugdha Lakhanif17cbd52022-10-19 13:49:24 +000070}