| /* |
| * Copyright (C) 2021 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") |
| id("kotlin-android") |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| } |
| |
| dependencies { |
| api(KOTLIN_STDLIB) |
| api(project(":core:core")) |
| |
| implementation("com.google.firebase:firebase-appindexing:19.2.0") |
| |
| // Use these version to avoid b/164901843 |
| implementation("com.google.crypto.tink:tink-android:1.4.0-rc2") |
| implementation("androidx.security:security-crypto:1.1.0-alpha01") |
| |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(ESPRESSO_CORE) |
| androidTestImplementation(ESPRESSO_INTENTS) |
| androidTestImplementation(MOCKITO_CORE, excludes.bytebuddy) |
| androidTestImplementation(DEXMAKER_MOCKITO, excludes.bytebuddy) |
| androidTestImplementation(TRUTH) |
| } |
| |
| androidx { |
| name = "Google Shortcuts Integration Library" |
| type = LibraryType.PUBLISHED_LIBRARY |
| mavenVersion = LibraryVersions.CORE_GOOGLE_SHORTCUTS |
| mavenGroup = LibraryGroups.CORE |
| inceptionYear = "2021" |
| description = "Library for powering Google features with Android app shortcuts" |
| } |