1/*
2 * Copyright (C) 2023 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 */
16
17import androidx.build.SoftwareType
18
19plugins {
20    id("AndroidXPlugin")
21    id("com.android.library")
22    id("org.jetbrains.kotlin.android")
23}
24
25dependencies {
26    api(libs.jspecify)
27    api(libs.kotlinStdlib)
28    api("androidx.annotation:annotation:1.8.1")
29    implementation("com.google.crypto.tink:tink-android:1.8.0")
30    androidTestImplementation(libs.junit)
31    androidTestImplementation(libs.testExtJunit)
32    androidTestImplementation(libs.testCore)
33    androidTestImplementation(libs.testRunner)
34    androidTestImplementation(libs.truth)
35}
36
37android {
38    namespace = "androidx.credentials.e2ee"
39}
40
41androidx {
42    name = "androidx.credentials:credentials-e2ee"
43    type = SoftwareType.PUBLISHED_LIBRARY
44    inceptionYear = "2023"
45    description = "Create Identity Keys, signing keys for E2EE in AOSP."
46    mavenVersion = LibraryVersions.CREDENTIALS_E2EE_QUARANTINE
47    legacyDisableKotlinStrictApiMode = true
48}
49