Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [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 | a3085e1e | 2024-04-23 19:11:16 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 25 | |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 26 | plugins { |
Aurimas Liutikas | 1fde311 | 2024-12-09 14:18:04 -0800 | [diff] [blame] | 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("org.jetbrains.kotlin.android") |
| 30 | id("org.jetbrains.kotlin.kapt") |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | dependencies { |
Aurimas Liutikas | 907dc02 | 2021-06-23 09:37:56 -0700 | [diff] [blame] | 34 | api(libs.kotlinStdlib) |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 35 | |
Aurimas Liutikas | 0ea3091 | 2024-12-09 16:12:13 -0800 | [diff] [blame] | 36 | 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 Liutikas | 907dc02 | 2021-06-23 09:37:56 -0700 | [diff] [blame] | 40 | androidTestImplementation(libs.testCore) |
| 41 | androidTestImplementation(libs.testRules) |
| 42 | androidTestImplementation(libs.truth) |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 46 | name = "AppSearch - Kotlin Extensions" |
Omar Ismail | a3085e1e | 2024-04-23 19:11:16 +0100 | [diff] [blame] | 47 | type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS |
Alexander Dorokhine | b278e47 | 2021-05-18 23:48:02 -0700 | [diff] [blame] | 48 | inceptionYear = '2021' |
| 49 | description = 'AndroidX AppSearch - Kotlin Extensions' |
| 50 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 51 | |
| 52 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 53 | compileSdk = 35 |
| 54 | namespace = "androidx.appsearch.ktx" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 55 | } |