test ext

  
לביצוע
העדכון האחרון גרסה יציבה גרסה מועמדת להפצה גרסת בטא גרסת אלפא
‫19 במאי 2026 - - - ‎1.0.0-alpha03

הצהרה על יחסי תלות

כדי להוסיף תלות ב-test-ext, צריך להוסיף את מאגר Google Maven לפרויקט. מידע נוסף זמין במאמר בנושא מאגר Maven של Google.

אתם יכולים להוסיף את יחסי התלות של הארטיפקטים שאתם צריכים בקובץ 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"
}

מידע נוסף זמין במאמר הוספת יחסי תלות ב-build.

משוב

המשוב שלכם עוזר לנו לשפר את 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)