blob: 2484a3a231da4cf537a48b554a0d22a1037e0b23 [file] [log] [blame]
Nick Anthony87bfe6f2021-02-03 19:57:32 -05001/*
2 * Copyright (C) 2021 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 */
16import static androidx.build.dependencies.DependenciesKt.*
17import androidx.build.LibraryGroups
18import androidx.build.LibraryVersions
19import androidx.build.LibraryType
20import androidx.build.Publish
21
22plugins {
23 id("AndroidXPlugin")
24 id("com.android.library")
25 id("kotlin-android")
26}
27
David Dong85b2eca2021-03-03 20:10:37 -050028android {
29 defaultConfig {
30 minSdkVersion 21
31 }
32}
33
Nick Anthony87bfe6f2021-02-03 19:57:32 -050034dependencies {
35 api(KOTLIN_STDLIB)
David Donge27d5482021-04-06 19:26:56 -040036 api(project(":core:core"))
David Dong85b2eca2021-03-03 20:10:37 -050037
38 implementation("com.google.firebase:firebase-appindexing:19.2.0")
39
David Dong5ec0e012021-03-29 17:17:58 -040040 // Use these version to avoid b/164901843
41 implementation("com.google.crypto.tink:tink-android:1.4.0-rc2")
42 implementation("androidx.security:security-crypto:1.1.0-alpha01")
43
David Dong85b2eca2021-03-03 20:10:37 -050044 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
45 androidTestImplementation(ANDROIDX_TEST_CORE)
46 androidTestImplementation(ANDROIDX_TEST_RUNNER)
47 androidTestImplementation(ANDROIDX_TEST_RULES)
David Dong5ec0e012021-03-29 17:17:58 -040048 androidTestImplementation(ESPRESSO_CORE)
49 androidTestImplementation(ESPRESSO_INTENTS)
Aurimas Liutikas9bf4f7e2021-04-23 14:17:30 -070050 androidTestImplementation(MOCKITO_CORE, excludes.bytebuddy)
51 androidTestImplementation(DEXMAKER_MOCKITO, excludes.bytebuddy)
David Dong85b2eca2021-03-03 20:10:37 -050052 androidTestImplementation(TRUTH)
Nick Anthony87bfe6f2021-02-03 19:57:32 -050053}
54
55androidx {
56 name = "Google Shortcuts Integration Library"
57 type = LibraryType.PUBLISHED_LIBRARY
58 mavenVersion = LibraryVersions.CORE_GOOGLE_SHORTCUTS
59 mavenGroup = LibraryGroups.CORE
60 inceptionYear = "2021"
61 description = "Library for powering Google features with Android app shortcuts"
62}