1import org.robolectric.gradle.AndroidProjectConfigPlugin 2 3apply plugin: 'com.android.library' 4apply plugin: AndroidProjectConfigPlugin 5 6// test with a project that depends on the stubs jar, not org.robolectric:android-all 7 8android { 9 compileSdk 33 10 namespace 'org.robolectric' 11 12 defaultConfig { 13 minSdk 19 14 targetSdk 33 15 } 16 17 compileOptions { 18 sourceCompatibility = '1.8' 19 targetCompatibility = '1.8' 20 } 21 22 testOptions.unitTests.includeAndroidResources true 23} 24 25dependencies { 26 testImplementation project(":robolectric") 27 testImplementation libs.junit4 28 testImplementation libs.truth 29} 30