David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 16 | |
Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 18 | * This file was created using the `create_project.py` script located in the |
| 19 | * `<AndroidX root>/development/project-creator` directory. |
| 20 | * |
| 21 | * Please use that script when creating a new project, rather than copying an existing project and |
| 22 | * modifying its settings. |
| 23 | */ |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 25 | |
| 26 | plugins { |
| 27 | id('AndroidXPlugin') |
| 28 | id('com.android.library') |
| 29 | } |
| 30 | |
| 31 | dependencies { |
| 32 | implementation project(":appsearch:appsearch") |
Alexander Dorokhine | 4f8814e | 2023-06-26 10:50:45 -0600 | [diff] [blame] | 33 | implementation("androidx.core:core:1.8.0") |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 34 | |
| 35 | annotationProcessor project(':appsearch:appsearch-compiler') |
| 36 | |
Xiaoyu Jin | e4fa048 | 2021-12-08 21:46:34 +0800 | [diff] [blame] | 37 | androidTestImplementation project(':appsearch:appsearch') |
| 38 | androidTestImplementation project(':appsearch:appsearch-local-storage') |
| 39 | androidTestImplementation project(':appsearch:appsearch-test-util') |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 40 | androidTestImplementation(libs.testExtJunit) |
| 41 | androidTestImplementation(libs.testCore) |
| 42 | androidTestImplementation(libs.testRunner) |
| 43 | androidTestImplementation(libs.testRules) |
| 44 | androidTestImplementation(libs.truth) |
Aurimas Liutikas | b20296a | 2021-12-21 15:56:47 -0800 | [diff] [blame] | 45 | androidTestImplementation(libs.junit) |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 49 | name = "AppSearch Builtin Types" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 50 | type = LibraryType.PUBLISHED_LIBRARY |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 51 | inceptionYear = '2021' |
| 52 | description = 'Contains AppSearch Document classes and builders for a variety of common ' + |
| 53 | 'objects based on http://schema.org. Data interchange with the system, and other ' + |
| 54 | 'apps, as well as structured parameters for semantic intents should use these ' + |
| 55 | 'built-in types as appropriate.' |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 56 | metalavaK2UastEnabled = true |
David Dong | ebf84c9 | 2021-11-10 16:22:03 -0800 | [diff] [blame] | 57 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 58 | |
| 59 | android { |
| 60 | namespace "androidx.appsearch.builtintypes" |
| 61 | } |