| 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 "junit:junit:${junitVersion}" |
| testImplementation "com.google.guava:guava-testlib:29.0-jre" |
| testImplementation("androidx.fragment:fragment:1.3.4") |
| } |