test ext

  
TODO
最新の更新 安定版リリース リリース候補版 ベータ版リリース アルファ版リリース
2026 年 5 月 19 日 - - - 1.0.0-alpha03

依存関係の宣言

test-ext への依存関係を追加するには、Google の Maven リポジトリをプロジェクトに追加する必要があります。詳しくは、Google の Maven リポジトリをご覧ください。

アプリまたはモジュールの build.gradle ファイルに、必要なアーティファクトの依存関係を追加します。

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"
}

依存関係について詳しくは、ビルド依存関係の追加をご覧ください。

フィードバック

お寄せいただいたフィードバックは Jetpack 改善の参考にさせていただきます。新しい問題が見つかった場合や、このライブラリを改善するアイデアをお持ちの場合は、お知らせください。新しい問題を報告していただく前に、このライブラリの既存の問題をご確認ください。スターボタンをクリックすると、既存の問題に投票できます。

新しい問題を報告する

詳細については、Issue Tracker のドキュメントをご覧ください。

バージョン 1.0

バージョン 1.0.0-alpha03

2026 年 5 月 19 日

androidx.test.ext:junit-gtest:1.0.0-alpha03 がリリースされました。バージョン 1.0.0-alpha03 に含まれる commit については、こちらをご覧ください。

API の変更

  • junit-gtest のすべての API を非推奨にしました。(I355dfb/500007449

バグの修正

  • NDK アップグレードを可能にするため、minSdkVersion を 21 に変更(Ic748f