blob: 186da78d9b0691918b84927285f10256b23e8873 [file] [log] [blame]
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.LibraryType
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
implementation(AUTO_VALUE_ANNOTATIONS)
annotationProcessor(AUTO_VALUE)
implementation("androidx.collection:collection:1.1.0")
testImplementation("junit:junit:4.13")
testImplementation(ANDROIDX_TEST_EXT_JUNIT)
testImplementation(ANDROIDX_TEST_CORE)
testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(ANDROIDX_TEST_RULES)
testImplementation(MOCKITO_CORE)
testImplementation(ROBOLECTRIC)
androidTestImplementation("junit:junit:4.13")
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_RULES)
}
android {
testOptions.unitTests.includeAndroidResources = true
}
androidx {
name = "Android Security App Package Authenitcator Library"
type = LibraryType.PUBLISHED_LIBRARY
mavenVersion = LibraryVersions.SECURITY_APP_AUTHENTICATOR
mavenGroup = LibraryGroups.SECURITY
inceptionYear = "2020"
description = "Verify app packages for proper app to app authentication."
}