1import org.robolectric.gradle.AndroidProjectConfigPlugin 2 3apply plugin: 'com.android.library' 4apply plugin: AndroidProjectConfigPlugin 5 6android { 7 compileSdk 34 8 namespace 'org.robolectric.integrationtests.room' 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 27dependencies { 28 // Testing dependencies 29 testImplementation project(":testapp") 30 testImplementation project(":robolectric") 31 testImplementation libs.junit4 32 testImplementation libs.guava.testlib 33 testImplementation libs.truth 34 implementation libs.androidx.room.runtime 35 annotationProcessor libs.androidx.room.compiler 36} 37