blob: 1910a481c78c5e367d96f7e10d17d12ff9035754 [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 {
Aurimas Liutikas1fde3112024-12-09 14:18:04 -080027 id("AndroidXPlugin")
28 id("com.android.library")
29 id("org.jetbrains.kotlin.android")
30 id("org.jetbrains.kotlin.kapt")
Alexander Dorokhineb278e472021-05-18 23:48:02 -070031}
32
33dependencies {
Aurimas Liutikas907dc022021-06-23 09:37:56 -070034 api(libs.kotlinStdlib)
Alexander Dorokhineb278e472021-05-18 23:48:02 -070035
Aurimas Liutikas0ea30912024-12-09 16:12:13 -080036 kaptAndroidTest(project(":appsearch:appsearch-compiler"))
37 androidTestImplementation(project(":appsearch:appsearch"))
38 androidTestImplementation(project(":appsearch:appsearch-local-storage"))
39 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'
50}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070051
52android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080053 compileSdk = 35
54 namespace = "androidx.appsearch.ktx"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070055}