[go: nahoru, domu]

blob: 4196a332da0aebbd105b5e6ab4208bdbe9fe56e6 [file] [log] [blame]
Alexander Dorokhineb278e472021-05-18 23:48:02 -07001/*
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 Ismaila3085e1e2024-04-23 19:11:16 +010024import androidx.build.LibraryType
Alexander Dorokhineb278e472021-05-18 23:48:02 -070025
Alexander Dorokhineb278e472021-05-18 23:48:02 -070026plugins {
27 id('AndroidXPlugin')
28 id('com.android.library')
29 id('org.jetbrains.kotlin.android')
30 id('org.jetbrains.kotlin.kapt')
31}
32
33dependencies {
Aurimas Liutikas907dc022021-06-23 09:37:56 -070034 api(libs.kotlinStdlib)
Alexander Dorokhineb278e472021-05-18 23:48:02 -070035
36 kaptAndroidTest project(':appsearch:appsearch-compiler')
37 androidTestImplementation project(':appsearch:appsearch')
38 androidTestImplementation project(':appsearch:appsearch-local-storage')
Alexander Dorokhinee8750cd2021-08-18 13:09:23 -070039 androidTestImplementation project(':appsearch:appsearch-test-util')
Aurimas Liutikas907dc022021-06-23 09:37:56 -070040 androidTestImplementation(libs.testCore)
41 androidTestImplementation(libs.testRules)
42 androidTestImplementation(libs.truth)
Alexander Dorokhineb278e472021-05-18 23:48:02 -070043}
44
45androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040046 name = "AppSearch - Kotlin Extensions"
Omar Ismaila3085e1e2024-04-23 19:11:16 +010047 type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
Alexander Dorokhineb278e472021-05-18 23:48:02 -070048 inceptionYear = '2021'
49 description = 'AndroidX AppSearch - Kotlin Extensions'
Jinseong Jeon999075e2023-08-22 00:40:11 -070050 metalavaK2UastEnabled = true
Alexander Dorokhineb278e472021-05-18 23:48:02 -070051}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070052
53android {
54 namespace "androidx.appsearch.ktx"
55}