blob: 5f8416bec4912f1a80d6283ed1dad9cf6ddaca00 [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.
*/
import static androidx.build.dependencies.DependenciesKt.*
plugins {
id("AndroidXPlugin")
id("com.android.application")
id("kotlin-android")
id("kotlin-android-extensions")
}
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 {
debug {
testCoverageEnabled false
}
release {
minifyEnabled true
shrinkResources true
}
}
}
dependencies {
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(KOTLIN_STDLIB)
debugImplementation(LEAKCANARY)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_UIAUTOMATOR)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(ESPRESSO_IDLING_RESOURCE)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(LEAKCANARY)
androidTestImplementation(LEAKCANARY_INSTRUMENTATION)
androidTestImplementation(TRUTH)
}