1import org.robolectric.gradle.AndroidProjectConfigPlugin 2 3apply plugin: 'com.android.library' 4apply plugin: AndroidProjectConfigPlugin 5 6android { 7 compileSdk 34 8 namespace 'org.robolectric.integrationtests.androidx' 9 10 defaultConfig { 11 minSdk 19 12 targetSdk 34 13 } 14 15 compileOptions { 16 sourceCompatibility = '1.8' 17 targetCompatibility = '1.8' 18 } 19 20 testOptions { 21 unitTests { 22 includeAndroidResources = true 23 } 24 } 25 26} 27 28dependencies { 29 implementation libs.kotlinx.coroutines.android 30 implementation libs.androidx.appcompat 31 implementation libs.androidx.window 32 33 // Testing dependencies 34 testImplementation project(":testapp") 35 testImplementation project(":robolectric") 36 testImplementation libs.junit4 37 testImplementation libs.androidx.test.core 38 testImplementation libs.androidx.core 39 testImplementation libs.androidx.test.runner 40 testImplementation libs.androidx.test.rules 41 testImplementation libs.androidx.test.espresso.intents 42 testImplementation libs.androidx.test.ext.truth 43 testImplementation libs.androidx.test.ext.junit 44 testImplementation libs.truth 45} 46