blob: 72750655a7733370acfff7da8ef9884ef1a13633 [file] [log] [blame]
plugins {
id("AndroidXPlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
android {
namespace = "androidx.pdf.testapp"
defaultConfig {
applicationId = "androidx.pdf.testapp"
minSdk = 31
compileSdk = 35
targetSdk = 31
}
sourceSets {
androidTest.assets.srcDirs += files("src/androidTest/assets/".toString())
}
viewBinding {
enabled = true
}
testOptions {
// speed up execution and improve flakiness of instrumented tests.
animationsDisabled = true
}
}
dependencies {
api("com.google.android.material:material:1.11.0")
implementation(project(":pdf:pdf-viewer-fragment"))
implementation(libs.constraintLayout)
implementation(libs.testCore)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.mockitoCore)
androidTestImplementation(libs.dexmakerMockito)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(project(":pdf:pdf-viewer-fragment"))
androidTestImplementation(libs.espressoIdlingResource)
androidTestImplementation(libs.testUiautomator)
androidTestImplementation('androidx.test.espresso:espresso-intents:3.6.1')
debugImplementation("androidx.fragment:fragment-testing-manifest:1.8.1")
debugImplementation("androidx.fragment:fragment-testing:1.7.1")
}