blob: a65294f7995cae44f9241cfed5d0b68bdd6e554e [file] [log] [blame]
Curtis Belmontec5b4c952019-08-14 13:32:13 -07001import static androidx.build.dependencies.DependenciesKt.*
Kevin Chyn3d0c9702018-04-05 17:28:33 -07002import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -07004import androidx.build.Publish
Kevin Chyn3d0c9702018-04-05 17:28:33 -07005
6plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +01007 id("AndroidXPlugin")
8 id("com.android.library")
Kevin Chyn3d0c9702018-04-05 17:28:33 -07009}
10
11dependencies {
Ilya Matyukhin59e8ee42019-07-15 12:38:59 -070012 api("androidx.annotation:annotation:1.1.0")
Ian Lake391dc4b2019-09-07 17:51:23 -070013 api("androidx.appcompat:appcompat:1.1.0")
14 api("androidx.core:core:1.1.0")
15 api("androidx.fragment:fragment:1.1.0")
Curtis Belmontec5b4c952019-08-14 13:32:13 -070016
17 androidTestImplementation(ANDROIDX_TEST_CORE)
18 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
19 androidTestImplementation(ANDROIDX_TEST_RULES)
20 androidTestImplementation(ANDROIDX_TEST_RUNNER)
Curtis Belmonteb0b21162019-08-23 11:25:10 -070021 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
22 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
23 androidTestImplementation(TRUTH)
Kevin Chyn3d0c9702018-04-05 17:28:33 -070024}
25
26android {
27 sourceSets {
28 main.res.srcDirs 'res'
29 }
30
31 aaptOptions {
32 noCompress 'ttf'
33 }
Curtis Belmonted8b9a4d2019-09-05 10:21:10 -070034
35 compileOptions {
36 sourceCompatibility JavaVersion.VERSION_1_7
37 targetCompatibility JavaVersion.VERSION_1_7
38 }
Kevin Chyn3d0c9702018-04-05 17:28:33 -070039}
40
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070041androidx {
Kevin Chyn3d0c9702018-04-05 17:28:33 -070042 name = "Biometric"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070043 publish = Publish.SNAPSHOT_AND_RELEASE
Kevin Chyn3d0c9702018-04-05 17:28:33 -070044 mavenVersion = LibraryVersions.BIOMETRIC
45 mavenGroup = LibraryGroups.BIOMETRIC
46 inceptionYear = "2018"
47 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."
48}