1/* 2 * Copyright (C) 2025 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 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 */ 24 25import androidx.build.SoftwareType 26 27plugins { 28 id("AndroidXPlugin") 29 id("com.android.library") 30 id("org.jetbrains.kotlin.android") 31 id("AndroidXComposePlugin") 32} 33 34dependencies { 35 api(libs.kotlinStdlib) 36 api("androidx.annotation:annotation:1.8.1") 37 api("androidx.core:core:1.12.0") 38 api("androidx.compose.ui:ui:1.7.8") 39 implementation(project(":privacysandbox:ui:ui-client")) 40 41 androidTestImplementation(project(":internal-testutils-runtime")) 42 androidTestImplementation(libs.junit) 43 androidTestImplementation(libs.kotlinStdlib) 44 androidTestImplementation(libs.testExtJunit) 45 androidTestImplementation(libs.testCore) 46 androidTestImplementation(libs.testRunner) 47 androidTestImplementation(libs.testRules) 48 androidTestImplementation(libs.truth) 49 androidTestImplementation(libs.espressoIntents) 50 androidTestImplementation(libs.espressoCore) 51 androidTestImplementation(libs.mockitoCore) 52 androidTestImplementation(libs.testUiautomator) 53 androidTestImplementation(project(":appcompat:appcompat")) 54 androidTestImplementation(project(":privacysandbox:ui:ui-provider")) 55 androidTestImplementation(project(":privacysandbox:ui:integration-tests:testingutils")) 56 androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.7.8") 57 androidTestImplementation("androidx.compose.foundation:foundation-layout:1.7.8") 58 debugImplementation("androidx.compose.ui:ui-test-manifest:1.7.8") 59} 60 61android { 62 namespace "androidx.privacysandbox.ui.client.compose" 63 compileSdk = 35 64} 65 66androidx { 67 name = "androidx.privacysandbox.ui:ui-client-compose" 68 type = SoftwareType.PUBLISHED_LIBRARY 69 inceptionYear = "2025" 70 description = "Show Compose UI from a Runtime-aware SDK" 71} 72