Nick Anthony | 4609ace | 2020-11-06 16:54:57 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2020 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 | */ |
Michael Groover | b2edad7 | 2020-12-15 20:26:48 -0800 | [diff] [blame] | 16 | |
Nick Anthony | 4609ace | 2020-11-06 16:54:57 -0500 | [diff] [blame] | 17 | import androidx.build.LibraryType |
Nick Anthony | 4609ace | 2020-11-06 16:54:57 -0500 | [diff] [blame] | 18 | |
| 19 | plugins { |
| 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
| 22 | } |
| 23 | |
| 24 | dependencies { |
Michael Groover | b2edad7 | 2020-12-15 20:26:48 -0800 | [diff] [blame] | 25 | api("androidx.annotation:annotation:1.1.0") |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 26 | implementation(libs.autoValueAnnotations) |
| 27 | annotationProcessor(libs.autoValue) |
Michael Groover | b2edad7 | 2020-12-15 20:26:48 -0800 | [diff] [blame] | 28 | implementation("androidx.collection:collection:1.1.0") |
| 29 | |
Aurimas Liutikas | b20296a | 2021-12-21 15:56:47 -0800 | [diff] [blame] | 30 | testImplementation(libs.junit) |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 31 | testImplementation(libs.testExtJunit) |
| 32 | testImplementation(libs.testCore) |
| 33 | testImplementation(libs.testRunner) |
| 34 | testImplementation(libs.testRules) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 35 | testImplementation(libs.mockitoCore4) |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 36 | testImplementation(libs.robolectric) |
Michael Groover | 72dfb48 | 2020-12-31 18:53:25 -0800 | [diff] [blame] | 37 | |
Aurimas Liutikas | b20296a | 2021-12-21 15:56:47 -0800 | [diff] [blame] | 38 | androidTestImplementation(libs.junit) |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 39 | androidTestImplementation(libs.testExtJunit) |
| 40 | androidTestImplementation(libs.testCore) |
| 41 | androidTestImplementation(libs.testRunner) |
| 42 | androidTestImplementation(libs.testRules) |
Michael Groover | 72dfb48 | 2020-12-31 18:53:25 -0800 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | android { |
| 46 | testOptions.unitTests.includeAndroidResources = true |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 47 | namespace "androidx.security.app.authenticator" |
Nick Anthony | 4609ace | 2020-11-06 16:54:57 -0500 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | androidx { |
| 51 | name = "Android Security App Package Authenitcator Library" |
| 52 | type = LibraryType.PUBLISHED_LIBRARY |
| 53 | mavenVersion = LibraryVersions.SECURITY_APP_AUTHENTICATOR |
Nick Anthony | 4609ace | 2020-11-06 16:54:57 -0500 | [diff] [blame] | 54 | inceptionYear = "2020" |
| 55 | description = "Verify app packages for proper app to app authentication." |
| 56 | } |