• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import org.robolectric.gradle.AndroidProjectConfigPlugin
2
3apply plugin: 'com.android.library'
4apply plugin: AndroidProjectConfigPlugin
5
6android {
7    compileSdk 33
8
9    defaultConfig {
10        minSdk 16
11        targetSdk 33
12    }
13
14    compileOptions {
15        sourceCompatibility = '1.8'
16        targetCompatibility = '1.8'
17    }
18
19    testOptions {
20        unitTests {
21            includeAndroidResources = true
22        }
23    }
24
25}
26
27dependencies {
28    // Testing dependencies
29    testImplementation project(path: ':testapp')
30    testImplementation project(":robolectric")
31    testImplementation "junit:junit:$junitVersion"
32    testImplementation "com.google.guava:guava-testlib:$guavaJREVersion"
33    testImplementation "androidx.fragment:fragment:$fragmentVersion"
34}
35