| import org.robolectric.gradle.AndroidProjectConfigPlugin |
| |
| apply plugin: 'com.android.library' |
| apply plugin: AndroidProjectConfigPlugin |
| |
| android { |
| compileSdkVersion 30 |
| |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 30 |
| } |
| |
| compileOptions { |
| sourceCompatibility = '1.8' |
| targetCompatibility = '1.8' |
| } |
| |
| testOptions.unitTests.includeAndroidResources true |
| } |
| |
| dependencies { |
| // Testing dependencies |
| testImplementation project(path: ':testapp') |
| testImplementation project(":robolectric") |
| testImplementation project(":integration_tests:agp:testsupport") |
| |
| testImplementation "junit:junit:${junitVersion}" |
| testImplementation("androidx.test:core:$axtVersion") |
| testImplementation("androidx.test:runner:$axtVersion") |
| testImplementation("androidx.test.ext:junit:$axtJunitVersion") |
| } |