1plugins {
2    id("AndroidXPlugin")
3    id("com.android.application")
4    id("org.jetbrains.kotlin.android")
5}
6
7android {
8    namespace = "androidx.pdf.testapp"
9
10    defaultConfig {
11        applicationId = "androidx.pdf.testapp"
12        minSdk = 31
13        compileSdk = 35
14    }
15
16    sourceSets {
17        androidTest.assets.srcDirs += files("src/androidTest/assets/".toString())
18    }
19
20    viewBinding {
21        enabled = true
22    }
23
24    testOptions {
25        // speed up execution and improve flakiness of instrumented tests.
26        animationsDisabled = true
27    }
28}
29
30dependencies {
31    api("com.google.android.material:material:1.11.0")
32    implementation(project(":pdf:pdf-viewer-fragment"))
33    implementation(libs.constraintLayout)
34    implementation(libs.testCore)
35
36    androidTestImplementation(libs.testExtJunit)
37    androidTestImplementation(libs.testCore)
38    androidTestImplementation(libs.testRules)
39    androidTestImplementation(libs.testRunner)
40    androidTestImplementation(libs.junit)
41    androidTestImplementation(libs.mockitoCore)
42    androidTestImplementation(libs.dexmakerMockito)
43    androidTestImplementation(libs.truth)
44    androidTestImplementation(libs.espressoCore)
45    androidTestImplementation(project(":pdf:pdf-viewer-fragment"))
46    androidTestImplementation(libs.espressoIdlingResource)
47    androidTestImplementation(libs.testUiautomator)
48    androidTestImplementation('androidx.test.espresso:espresso-intents:3.6.1')
49
50    debugImplementation("androidx.fragment:fragment-testing-manifest:1.8.1")
51    debugImplementation("androidx.fragment:fragment-testing:1.7.1")
52}