[go: nahoru, domu]

blob: c7b537321c5ed94a1c9a9e50e950a80e059801f8 [file] [log] [blame]
Curtis Belmonte89c37a62019-12-04 15:30:43 -08001/*
2 * Copyright 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Omar Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
Kevin Chyn3d0c9702018-04-05 17:28:33 -070025
26plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010027 id("AndroidXPlugin")
28 id("com.android.library")
Kevin Chyn3d0c9702018-04-05 17:28:33 -070029}
30
31dependencies {
Curtis Belmontef289d9e2020-06-16 11:03:29 -070032 // Public API dependencies
Jon Boekenoogene19f8ab2024-02-07 16:54:20 +000033 api("androidx.annotation:annotation:1.6.0")
Curtis Belmonte762a45b2020-11-02 15:46:57 -080034 api("androidx.core:core:1.3.2")
Curtis Belmontef289d9e2020-06-16 11:03:29 -070035 api("androidx.fragment:fragment:1.2.5")
36
37 // Internal dependencies
38 implementation("androidx.activity:activity:1.1.0")
Curtis Belmonte53b605b2020-08-17 16:35:00 -070039 implementation("androidx.appcompat:appcompat:1.2.0")
Curtis Belmonteb525b6e2020-07-06 15:53:14 -070040 implementation("androidx.lifecycle:lifecycle-livedata-core:2.2.0")
Curtis Belmontef289d9e2020-06-16 11:03:29 -070041 implementation("androidx.lifecycle:lifecycle-viewmodel:2.2.0")
Sergey Vasilinets1504f312021-08-26 14:31:47 +010042 implementation("androidx.lifecycle:lifecycle-common-java8:2.2.0")
Curtis Belmontec5b4c952019-08-14 13:32:13 -070043
Aurimas Liutikasc7671352021-06-01 16:31:13 -070044 testImplementation(libs.testCore)
45 testImplementation(libs.testRunner)
46 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070047 testImplementation(libs.mockitoCore4)
Aurimas Liutikasc7671352021-06-01 16:31:13 -070048 testImplementation(libs.robolectric)
49 testImplementation(libs.truth)
Curtis Belmonte53dc66f2019-11-06 13:17:04 -080050
Aurimas Liutikasc7671352021-06-01 16:31:13 -070051 androidTestImplementation(libs.testCore)
52 androidTestImplementation(libs.testExtJunit)
53 androidTestImplementation(libs.testRules)
54 androidTestImplementation(libs.testRunner)
Joe Bolingere09aec12022-03-17 22:41:05 +000055 androidTestImplementation(libs.testUiautomator)
Aurimas Liutikasc7671352021-06-01 16:31:13 -070056 androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy)
57 androidTestImplementation(libs.mockitoCore, excludes.bytebuddy)
58 androidTestImplementation(libs.truth)
Joe Bolingere09aec12022-03-17 22:41:05 +000059 androidTestImplementation("androidx.fragment:fragment-testing:1.4.1")
Kevin Chyn3d0c9702018-04-05 17:28:33 -070060}
61
62android {
Kevin Chyn3d0c9702018-04-05 17:28:33 -070063 aaptOptions {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080064 noCompress "ttf"
Kevin Chyn3d0c9702018-04-05 17:28:33 -070065 }
Curtis Belmonted8b9a4d2019-09-05 10:21:10 -070066
Omar Ismail72444772024-05-14 14:55:28 +010067 buildTypes.configureEach {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080068 consumerProguardFiles "proguard-rules.pro"
Curtis Belmonteb16e5f52020-07-10 15:12:42 -070069 }
Curtis Belmonteeb8dff62020-07-13 10:53:41 -070070 testOptions.unitTests.includeAndroidResources = true
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070071 namespace "androidx.biometric"
Kevin Chyn3d0c9702018-04-05 17:28:33 -070072}
73
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070074androidx {
Kevin Chyn3d0c9702018-04-05 17:28:33 -070075 name = "Biometric"
Omar Ismail86e66062024-05-03 16:10:50 +010076 type = LibraryType.PUBLISHED_LIBRARY
Kevin Chyn3d0c9702018-04-05 17:28:33 -070077 inceptionYear = "2018"
78 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."
Jinseong Jeon999075e2023-08-22 00:40:11 -070079 metalavaK2UastEnabled = true
Kevin Chyn3d0c9702018-04-05 17:28:33 -070080}