blob: cb807353dd17be25b7d82fb4b9251f9f5a935dc8 [file] [log] [blame]
Nick Anthony4609ace2020-11-06 16:54:57 -05001/*
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 Grooverb2edad72020-12-15 20:26:48 -080016
Nick Anthony4609ace2020-11-06 16:54:57 -050017import androidx.build.LibraryType
Nick Anthony4609ace2020-11-06 16:54:57 -050018
19plugins {
20 id("AndroidXPlugin")
21 id("com.android.library")
22}
23
24dependencies {
Michael Grooverb2edad72020-12-15 20:26:48 -080025 api("androidx.annotation:annotation:1.1.0")
Aurimas Liutikas00442962021-06-01 17:18:09 -070026 implementation(libs.autoValueAnnotations)
27 annotationProcessor(libs.autoValue)
Michael Grooverb2edad72020-12-15 20:26:48 -080028 implementation("androidx.collection:collection:1.1.0")
29
Aurimas Liutikasb20296a2021-12-21 15:56:47 -080030 testImplementation(libs.junit)
Aurimas Liutikas00442962021-06-01 17:18:09 -070031 testImplementation(libs.testExtJunit)
32 testImplementation(libs.testCore)
33 testImplementation(libs.testRunner)
34 testImplementation(libs.testRules)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070035 testImplementation(libs.mockitoCore4)
Aurimas Liutikas00442962021-06-01 17:18:09 -070036 testImplementation(libs.robolectric)
Michael Groover72dfb482020-12-31 18:53:25 -080037
Aurimas Liutikasb20296a2021-12-21 15:56:47 -080038 androidTestImplementation(libs.junit)
Aurimas Liutikas00442962021-06-01 17:18:09 -070039 androidTestImplementation(libs.testExtJunit)
40 androidTestImplementation(libs.testCore)
41 androidTestImplementation(libs.testRunner)
42 androidTestImplementation(libs.testRules)
Michael Groover72dfb482020-12-31 18:53:25 -080043}
44
45android {
46 testOptions.unitTests.includeAndroidResources = true
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070047 namespace "androidx.security.app.authenticator"
Nick Anthony4609ace2020-11-06 16:54:57 -050048}
49
50androidx {
51 name = "Android Security App Package Authenitcator Library"
52 type = LibraryType.PUBLISHED_LIBRARY
53 mavenVersion = LibraryVersions.SECURITY_APP_AUTHENTICATOR
Nick Anthony4609ace2020-11-06 16:54:57 -050054 inceptionYear = "2020"
55 description = "Verify app packages for proper app to app authentication."
56}