blob: 5cb19c447038018c2311e5879b1468dd5ab84357 [file] [log] [blame]
/*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id("AndroidXPlugin")
id("com.android.application")
id("kotlin-android")
}
android {
defaultConfig {
applicationId "androidx.biometric.integration.testapp"
minSdkVersion 18
versionCode 1
testInstrumentationRunnerArgument "listener", "leakcanary.FailTestOnLeakRunListener"
}
sourceSets {
main.manifest.srcFile "src/main/AndroidManifest.xml"
main.java.srcDirs = ["src/main/java"]
main.java.includes = ["**/*.java"]
main.java.excludes = ["**/build/**"]
main.res.srcDirs = ["src/main/res"]
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
}
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation(projectOrArtifact(":annotation:annotation"))
implementation(project(":biometric:biometric-ktx"))
implementation("androidx.activity:activity-ktx:1.1.0")
implementation("androidx.core:core-ktx:1.3.2")
implementation("androidx.fragment:fragment-ktx:1.2.5")
implementation(libs.kotlinStdlib)
debugImplementation(libs.leakcanary)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testUiautomator)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.espressoIdlingResource)
androidTestImplementation(libs.kotlinStdlib)
androidTestImplementation(libs.leakcanary)
androidTestImplementation(libs.leakcanaryInstrumentation)
androidTestImplementation(libs.truth)
}