• 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    implementation("androidx.appcompat:appcompat:$appCompatVersion")
29    implementation("androidx.window:window:$windowVersion")
30
31    // Testing dependencies
32    testImplementation project(path: ':testapp')
33    testImplementation project(":robolectric")
34    testImplementation "junit:junit:$junitVersion"
35    testImplementation("androidx.test:core:$axtCoreVersion")
36    testImplementation("androidx.core:core:$coreVersion")
37    testImplementation("androidx.test:runner:$axtRunnerVersion")
38    testImplementation("androidx.test:rules:$axtRulesVersion")
39    testImplementation("androidx.test.espresso:espresso-intents:$espressoVersion")
40    testImplementation("androidx.test.ext:truth:$axtTruthVersion")
41    testImplementation("androidx.test.ext:junit:$axtJunitVersion")
42    testImplementation("com.google.truth:truth:$truthVersion")
43}
44