| apply plugin: 'com.android.library' |
| apply plugin: org.robolectric.gradle.AndroidProjectConfigPlugin |
| |
| android { |
| compileSdkVersion 29 |
| |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 29 |
| } |
| |
| lintOptions { |
| abortOnError false |
| } |
| |
| testOptions { |
| unitTests { |
| includeAndroidResources = true |
| } |
| } |
| |
| compileOptions { |
| sourceCompatibility 1.8 |
| targetCompatibility 1.8 |
| } |
| |
| defaultConfig { |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| } |
| |
| dependencies { |
| implementation project(path: ':testapp', configuration: 'default') |
| implementation project(path: ':shadowapi', configuration: 'default') |
| |
| testImplementation project(":robolectric") |
| testImplementation "junit:junit:4.12" |
| testImplementation("androidx.test:monitor:1.3.0-rc03") |
| testImplementation("androidx.test:runner:1.3.0-rc03") |
| testImplementation("androidx.test:rules:1.3.0-rc03") |
| testImplementation("androidx.test.ext:junit:1.1.2-rc03") |
| testImplementation("androidx.test.ext:truth:1.3.0-rc03") |
| testImplementation("androidx.test:core:1.3.0-rc03") |
| testImplementation("com.google.truth:truth:0.45") |
| testImplementation("com.google.guava:guava:27.0.1-jre") |
| |
| // Testing dependencies |
| androidTestImplementation("androidx.test:monitor:1.3.0-rc03") |
| androidTestImplementation("androidx.test:runner:1.3.0-rc03") |
| androidTestImplementation("androidx.test:rules:1.3.0-rc03") |
| androidTestImplementation("androidx.test.ext:junit:1.1.2-rc03") |
| androidTestImplementation("com.google.truth:truth:0.45") |
| androidTestImplementation("com.google.guava:guava:27.0.1-jre") |
| } |