blob: 5f7846ce026f75cb816284effad5f85c84b9941c [file]
/*
* Copyright 2026 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.
*/
/**
* This file was created using the `createProject` gradle task (./gradlew createProject)
*
* Please use the task when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.SoftwareType
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.library")
}
dependencies {
api(project(":a2ui:a2ui-model"))
api(project(":a2ui:compose:compose-runtime"))
api(project(":a2ui:compose:compose-ui"))
api("androidx.compose.runtime:runtime:1.10.0")
api("androidx.compose.ui:ui:1.10.0")
api(libs.kotlinCoroutinesTest)
implementation(project(":a2ui:a2ui-engine"))
testImplementation(libs.kotlinTest)
testImplementation(libs.truth)
testImplementation(libs.junit)
androidTestImplementation("androidx.compose.foundation:foundation:1.10.0")
androidTestImplementation(project(":compose:ui:ui-test"))
androidTestImplementation(project(":compose:ui:ui-test-junit4"))
androidTestImplementation(libs.kotlinTest)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.truth)
}
android {
namespace = "androidx.a2ui.compose.ui.testing"
compileSdk { version = release(37) }
}
androidx {
name = "A2UI Compose UI Testing"
type = SoftwareType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2026"
description = "Testing APIs for catalogs built with the Jetpack Compose A2UI renderer"
samples(project(":a2ui:compose:compose-ui-testing:compose-ui-testing-samples"))
}