test ext
| Najnowsza aktualizacja | Wersja stabilna | Wersja kandydująca do publikacji | Wersja beta | Wersja alfa |
|---|---|---|---|---|
| 19 maja 2026 r. | - | - | - | 1.0.0-alpha03 |
Deklarowanie zależności
Aby dodać zależność od test-ext, musisz dodać do projektu repozytorium Maven Google. Więcej informacji znajdziesz w repozytorium Maven Google.
Dodaj zależności od potrzebnych artefaktów w pliku build.gradle aplikacji lub modułu:
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" }
Więcej informacji o zależnościach znajdziesz w artykule Dodawanie zależności kompilacji.
Prześlij opinię
Twoja opinia pomoże nam ulepszyć Jetpacka. Jeśli zauważysz nowe problemy lub masz pomysły na ulepszenie tej biblioteki, daj nam znać. Zanim utworzysz nowy problem, zapoznaj się z istniejącymi problemami w tej bibliotece. Możesz zagłosować na istniejący problem, klikając przycisk gwiazdki.
Więcej informacji znajdziesz w dokumentacji narzędzia do śledzenia problemów Issue Tracker documentation.
Wersja 1.0
Wersja 1.0.0-alpha03
19 maja 2026 r.
Publikacja androidx.test.ext:junit-gtest:1.0.0-alpha03. Wersja 1.0.0-alpha03 zawiera te commity.
Zmiany w interfejsie API
- Wycofanie wszystkich interfejsów API w junit-gtest. (I355df, b/500007449)
Poprawki błędów
- Zmiana
minSdkVersionna 21, aby umożliwić aktualizację NDK (Ic748f)