[go: nahoru, domu]

blob: d709547c6f9bdb5fd65abaaac41b50511ab9356f [file] [log] [blame]
David Dongebf84c92021-11-10 16:22:03 -08001/*
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 Songee0da742024-01-03 14:08:46 -080017/**
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 Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
David Dongebf84c92021-11-10 16:22:03 -080025
26plugins {
27 id('AndroidXPlugin')
28 id('com.android.library')
29}
30
31dependencies {
32 implementation project(":appsearch:appsearch")
Alexander Dorokhine4f8814e2023-06-26 10:50:45 -060033 implementation("androidx.core:core:1.8.0")
David Dongebf84c92021-11-10 16:22:03 -080034
35 annotationProcessor project(':appsearch:appsearch-compiler')
36
Xiaoyu Jine4fa0482021-12-08 21:46:34 +080037 androidTestImplementation project(':appsearch:appsearch')
38 androidTestImplementation project(':appsearch:appsearch-local-storage')
39 androidTestImplementation project(':appsearch:appsearch-test-util')
David Dongebf84c92021-11-10 16:22:03 -080040 androidTestImplementation(libs.testExtJunit)
41 androidTestImplementation(libs.testCore)
42 androidTestImplementation(libs.testRunner)
43 androidTestImplementation(libs.testRules)
44 androidTestImplementation(libs.truth)
Aurimas Liutikasb20296a2021-12-21 15:56:47 -080045 androidTestImplementation(libs.junit)
David Dongebf84c92021-11-10 16:22:03 -080046}
47
48androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040049 name = "AppSearch Builtin Types"
Omar Ismail86e66062024-05-03 16:10:50 +010050 type = LibraryType.PUBLISHED_LIBRARY
David Dongebf84c92021-11-10 16:22:03 -080051 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 Jeon999075e2023-08-22 00:40:11 -070056 metalavaK2UastEnabled = true
David Dongebf84c92021-11-10 16:22:03 -080057}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070058
59android {
60 namespace "androidx.appsearch.builtintypes"
61}