Mugdha Lakhani | f17cbd5 | 2022-10-19 13:49:24 +0000 | [diff] [blame] | 1 | /* |
| 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Lakhani | f17cbd5 | 2022-10-19 13:49:24 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
| 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("org.jetbrains.kotlin.android") |
| 30 | } |
| 31 | |
| 32 | dependencies { |
| 33 | api(libs.kotlinStdlib) |
RafayKamran | afed3d3 | 2023-01-24 21:54:58 +0000 | [diff] [blame] | 34 | api("androidx.annotation:annotation:1.1.0") |
Lucas Tenório | 90809fa | 2023-04-21 16:59:14 +0100 | [diff] [blame] | 35 | |
Aurimas Liutikas | 7afe1d4 | 2023-11-09 11:02:02 -0800 | [diff] [blame] | 36 | implementation("androidx.core:core:1.12.0") |
Lucas Tenório | a66156a | 2023-06-28 14:22:07 +0100 | [diff] [blame] | 37 | |
Aurimas Liutikas | 36de1fe | 2023-11-29 15:12:02 -0800 | [diff] [blame] | 38 | implementation("androidx.lifecycle:lifecycle-common:2.6.2") |
Gavin Corkery | 9dd3c65 | 2023-09-11 14:29:24 +0000 | [diff] [blame] | 39 | implementation("androidx.privacysandbox.sdkruntime:sdkruntime-client:1.0.0-alpha08") |
Aurimas Liutikas | 11a97d8 | 2024-02-12 11:38:28 -0800 | [diff] [blame] | 40 | implementation("androidx.customview:customview-poolingcontainer:1.0.0") |
| 41 | implementation(project(":privacysandbox:ui:ui-core")) |
Lucas Tenório | 90809fa | 2023-04-21 16:59:14 +0100 | [diff] [blame] | 42 | |
RafayKamran | 7d78ee4 | 2023-01-05 12:23:53 +0000 | [diff] [blame] | 43 | 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ório | 90809fa | 2023-04-21 16:59:14 +0100 | [diff] [blame] | 51 | androidTestImplementation(libs.espressoIntents) |
| 52 | androidTestImplementation(libs.espressoCore) |
| 53 | androidTestImplementation(libs.mockitoCore) |
Gavin Corkery | 51413f6 | 2023-09-04 15:02:41 +0000 | [diff] [blame] | 54 | androidTestImplementation(libs.testUiautomator) |
Gavin Corkery | fb4d8a4 | 2023-04-06 15:07:54 +0000 | [diff] [blame] | 55 | androidTestImplementation project(path: ':appcompat:appcompat') |
Gavin Corkery | 59165aa | 2024-04-26 10:43:54 +0000 | [diff] [blame] | 56 | androidTestImplementation project(":privacysandbox:ui:ui-provider") |
Mugdha Lakhani | f17cbd5 | 2022-10-19 13:49:24 +0000 | [diff] [blame] | 57 | } |
| 58 | |
| 59 | android { |
| 60 | namespace "androidx.privacysandbox.ui.client" |
| 61 | } |
| 62 | |
| 63 | androidx { |
| 64 | name = "androidx.privacysandbox.ui:ui-client" |
| 65 | type = LibraryType.PUBLISHED_LIBRARY |
Mugdha Lakhani | f17cbd5 | 2022-10-19 13:49:24 +0000 | [diff] [blame] | 66 | inceptionYear = "2022" |
| 67 | description = "show UI from an SDKRuntime aware SDK" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 68 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 69 | legacyDisableKotlinStrictApiMode = true |
Mugdha Lakhani | f17cbd5 | 2022-10-19 13:49:24 +0000 | [diff] [blame] | 70 | } |