test ext
| Update Terbaru | Rilis Stabil | Kandidat Rilis | Rilis Beta | Rilis Alfa |
|---|---|---|---|---|
| 19 Mei 2026 | - | - | - | 1.0.0-alpha03 |
Mendeklarasikan dependensi
Untuk menambahkan dependensi pada test-ext, Anda harus menambahkan repositori Maven Google ke project Anda. Baca repositori Maven Google untuk mengetahui informasi selengkapnya.
Tambahkan dependensi untuk artefak yang diperlukan dalam file build.gradle bagi aplikasi atau modul Anda:
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" }
Untuk informasi dependensi selengkapnya, lihat Menambahkan dependensi build.
Masukan
Masukan Anda membantu meningkatkan kualitas Jetpack. Beri tahu kami jika Anda menemukan masalah baru atau mempunyai masukan untuk meningkatkan kualitas library ini. Harap periksa masalah yang sudah diketahui dalam library ini sebelum membuat laporan baru. Anda dapat memberikan suara untuk masalah yang sudah diketahui dengan mengklik tombol bintang.
Lihat dokumentasi Issue Tracker untuk informasi selengkapnya.
Versi 1.0
Versi 1.0.0-alpha03
19 Mei 2026
androidx.test.ext:junit-gtest:1.0.0-alpha03 dirilis. Versi 1.0.0-alpha03 berisi commit ini.
Perubahan API
- Menghentikan penggunaan semua API di junit-gtest. (I355df, b/500007449)
Perbaikan Bug
- Mengubah
minSdkVersionmenjadi 21 untuk memungkinkan upgrade NDK (Ic748f)