blob: 743a70352451cb14e634a6ac8238a9209db9917f [file] [log] [blame]
Xiaoyu Jin370c3e52021-08-17 21:14:55 +08001/*
2 * Copyright 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 */
Jelle Fresen4a13c562021-11-26 16:50:44 +000016import androidx.build.LibraryType
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080017
18plugins {
Aurimas Liutikas1fde3112024-12-09 14:18:04 -080019 id("AndroidXPlugin")
20 id("com.android.library")
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080021}
22
23dependencies {
Julia McClellanead0fc62024-12-05 15:12:20 -050024 api(libs.jspecify)
Aurimas Liutikasced7f812024-12-09 15:37:12 -080025 api("androidx.annotation:annotation:1.1.0")
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080026
27 implementation(project(":appsearch:appsearch"))
28 implementation(project(":appsearch:appsearch-local-storage"))
Aurimas Liutikasb5d8a812024-07-25 16:29:20 -070029 implementation("androidx.collection:collection:1.4.2")
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080030 implementation(libs.truth)
31
32 androidTestImplementation(libs.testCore)
33 androidTestImplementation(libs.testRules)
34 androidTestImplementation(libs.truth)
Aurimas Liutikasb20296a2021-12-21 15:56:47 -080035 androidTestImplementation(libs.junit)
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080036}
37
38androidx {
39 name = 'AppSearch Test Util'
Jelle Fresen4a13c562021-11-26 16:50:44 +000040 type = LibraryType.INTERNAL_TEST_LIBRARY
Xiaoyu Jin370c3e52021-08-17 21:14:55 +080041 inceptionYear = '2021'
42 description = 'Test Utilities to be used by any test module for AppSearch'
43}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070044
45android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080046 compileSdk = 35
47 namespace = "androidx.appsearch.testutil"
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070048}