test ext

API Reference
androidx.test.ext
TODO
Latest Update Stable Release Release Candidate Beta Release Alpha Release
May 19, 2026 - - - 1.0.0-alpha03

Declaring dependencies

To add a dependency on test-ext, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies{
// Use to implement test exts
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext:1.0.0-alpha03"
// Use to implement test ext complications
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-data-source:1.0.0-alpha03"
// (Kotlin-specific extensions)
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-data-source-ktx:1.0.0-alpha03"
// Use to implement a ext style and complication editor
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-editor:1.0.0-alpha03"
// Can use to render complications.
//TODO: Confirm these dependencies
// This library is optional and exts may have custom implementation for rendering
// complications.
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-rendering:1.0.0-alpha03"
}

Kotlin

dependencies{
// Use to implement test exts
//TODO: Confirm these dependencies
implementation("androidx.test.ext:ext:1.0.0-alpha03")
// Use to implement test ext complications
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-data-source:1.0.0-alpha03"
// (Kotlin-specific extensions)
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-data-source-ktx:1.0.0-alpha03"
// Use to implement a ext style and complication editor
//TODO: Confirm these dependencies
implementation("androidx.test.ext:ext-editor:1.0.0-alpha03")
// Can use to render complications.
//TODO: Confirm these dependencies
// This library is optional and exts may have custom implementation for rendering
// complications.
//TODO: Confirm these dependencies
implementation"androidx.test.ext:ext-complications-rendering:1.0.0-alpha03"
}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.0

Version 1.0.0-alpha03

May 19, 2026

androidx.test.ext:junit-gtest:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

API Changes

Bug Fixes

  • Change minSdkVersion to 21 to allow for NDK upgrade (Ic748f)

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月19日 UTC.