blob: 756d5559422114e67359bfdd6756297f12b29153 [file] [log] [blame]
/*
* Copyright (C) 2025 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 `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.SoftwareType
import androidx.build.PlatformIdentifier
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
}
androidXMultiplatform {
androidLibrary {
namespace = "androidx.compose.ui.test.junit4.accessibility"
compileSdk = 35
}
defaultPlatform(PlatformIdentifier.ANDROID)
sourceSets {
commonMain {
dependencies {
}
}
commonTest {
dependencies {
}
}
androidMain {
dependencies {
implementation(libs.kotlinStdlib)
api(project(":compose:ui:ui-test-junit4"))
api("androidx.annotation:annotation:1.8.1")
api("com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:4.1.1")
}
}
androidInstrumentedTest {
dependencies {
implementation(libs.testRules)
implementation(libs.testRunner)
implementation(libs.junit)
implementation(libs.truth)
}
}
}
}
androidx {
name = "Compose Accessibility Testing for JUnit4"
type = SoftwareType.PUBLISHED_KOTLIN_ONLY_TEST_LIBRARY
inceptionYear = "2025"
description = "Compose testing library for accessibility checks in integration with JUnit4"
samples(project(":compose:ui:ui-test-junit4-accessibility:ui-test-junit4-accessibility-samples"))
}