| Curtis Belmonte | c5b4c95 | 2019-08-14 13:32:13 -0700 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 4 | import androidx.build.Publish |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 5 | |
| 6 | plugins { |
| Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 7 | id("AndroidXPlugin") |
| 8 | id("com.android.library") |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | dependencies { |
| Ilya Matyukhin | 59e8ee4 | 2019-07-15 12:38:59 -0700 | [diff] [blame] | 12 | api("androidx.annotation:annotation:1.1.0") |
| Ian Lake | 391dc4b | 2019-09-07 17:51:23 -0700 | [diff] [blame] | 13 | api("androidx.appcompat:appcompat:1.1.0") |
| 14 | api("androidx.core:core:1.1.0") |
| 15 | api("androidx.fragment:fragment:1.1.0") |
| Curtis Belmonte | c5b4c95 | 2019-08-14 13:32:13 -0700 | [diff] [blame] | 16 | |
| 17 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 18 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 19 | androidTestImplementation(ANDROIDX_TEST_RULES) |
| 20 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| Curtis Belmonte | b0b2116 | 2019-08-23 11:25:10 -0700 | [diff] [blame] | 21 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
| 22 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 23 | androidTestImplementation(TRUTH) |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | android { |
| 27 | sourceSets { |
| 28 | main.res.srcDirs 'res' |
| 29 | } |
| 30 | |
| 31 | aaptOptions { |
| 32 | noCompress 'ttf' |
| 33 | } |
| Curtis Belmonte | d8b9a4d | 2019-09-05 10:21:10 -0700 | [diff] [blame] | 34 | |
| 35 | compileOptions { |
| 36 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 37 | targetCompatibility JavaVersion.VERSION_1_7 |
| 38 | } |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 39 | } |
| 40 | |
| Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 41 | androidx { |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 42 | name = "Biometric" |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 43 | publish = Publish.SNAPSHOT_AND_RELEASE |
| Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 44 | 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 | } |