blob: 8223fe2d5c8376f1d6907814c105a01c2e89244b [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.
*/
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
android {
defaultConfig {
multiDexEnabled true
}
}
dependencies {
// Public API dependencies
api("androidx.annotation:annotation:1.6.0")
api("androidx.core:core:1.3.2")
api("androidx.fragment:fragment:1.2.5")
// Internal dependencies
implementation("androidx.activity:activity:1.1.0")
implementation("androidx.appcompat:appcompat:1.2.0")
implementation("androidx.lifecycle:lifecycle-livedata-core:2.2.0")
implementation("androidx.lifecycle:lifecycle-viewmodel:2.2.0")
implementation("androidx.lifecycle:lifecycle-common-java8:2.2.0")
testImplementation(libs.testCore)
testImplementation(libs.testRunner)
testImplementation(libs.junit)
testImplementation(libs.mockitoCore4)
testImplementation(libs.robolectric)
testImplementation(libs.truth)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testUiautomator)
androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy)
androidTestImplementation(libs.mockitoCore, excludes.bytebuddy)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.multidex)
androidTestImplementation("androidx.fragment:fragment-testing:1.4.1")
}
android {
aaptOptions {
noCompress "ttf"
}
buildTypes.all {
consumerProguardFiles "proguard-rules.pro"
}
testOptions.unitTests.includeAndroidResources = true
namespace "androidx.biometric"
}
androidx {
name = "Biometric"
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2018"
description = "The Biometric library is a static library that you can add to your Android application. It invokes BiometricPrompt on devices running P and greater, and on older devices will show a compat dialog. Compatible on devices running API 14 or later."
metalavaK2UastEnabled = true
}