тест экст
| Последнее обновление | Стабильный релиз | Предварительная версия релиза | Бета-версия | Альфа-версия |
|---|---|---|---|---|
| 19 мая 2026 г. | - | - | - | 1.0.0-alpha03 |
Объявление зависимостей
Чтобы добавить зависимость от test-ext, необходимо добавить репозиторий Google Maven в ваш проект. Для получения дополнительной информации ознакомьтесь с информацией в репозитории Google Maven .
Добавьте зависимости для необходимых артефактов в файл build.gradle вашего приложения или модуля:
классный
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" }
Котлин
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. Сообщите нам, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете проголосовать за существующую проблему, нажав кнопку со звездочкой.
Для получения более подробной информации см. документацию по системе отслеживания ошибок .
Версия 1.0
Версия 1.0.0-alpha03
19 мая 2026 г.
Выпущена версия androidx.test.ext:junit-gtest:1.0.0-alpha03 . Версия 1.0.0-alpha03 содержит следующие коммиты .
Изменения в API
- Все API в junit-gtest объявлены устаревшими. ( I355df , b/500007449 )
Исправлены ошибки
- Измените
minSdkVersionна 21, чтобы разрешить обновление NDK ( Ic748f ).