test ext
| อัปเดตล่าสุด | รุ่นที่เสถียร | รุ่นที่อาจได้รับการเผยแพร่ | รุ่นเบต้า | รุ่นอัลฟ่า |
|---|---|---|---|---|
| 19 พ.ค. 2026 | - | - | - | 1.0.0-alpha03 |
การประกาศทรัพยากร Dependency
หากต้องการเพิ่มทรัพยากร Dependency ใน test-ext คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์ อ่านข้อมูลเพิ่มเติมได้ที่ที่เก็บ Maven ของ Google
เพิ่มทรัพยากร Dependency สำหรับอาร์ติแฟกต์ที่ต้องการในไฟล์ 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" }
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" }
ดูข้อมูลเพิ่มเติมเกี่ยวกับทรัพยากร Dependency ได้ที่หัวข้อเพิ่มทรัพยากร Dependency ในการสร้าง
ความคิดเห็น
ความคิดเห็นของคุณช่วยให้ Jetpack ดีขึ้น โปรดแจ้งให้เราทราบหากพบปัญหาใหม่ๆ หรือมีไอเดียในการปรับปรุงไลบรารีนี้ โปรดดู ปัญหาที่มีอยู่แล้ว ในไลบรารีนี้ก่อนสร้างปัญหาใหม่ คุณสามารถโหวตปัญหาที่มีอยู่แล้วได้โดยคลิกปุ่มรูปดาว
ดูข้อมูลเพิ่มเติมได้ในเอกสารประกอบของIssue Tracker
เวอร์ชัน 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)