blob: 0074f4360f22aa548c9e1327d51d1419e2514293 [file] [log] [blame]
Xi Zhang79e7fa12024-04-29 09:41:52 -07001/*
2 * Copyright 2024 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 */
Xi Zhangc42b0532024-09-22 06:37:44 -070016
17import androidx.build.LibraryType
Xi Zhang79e7fa12024-04-29 09:41:52 -070018
19plugins {
20 id("AndroidXPlugin")
21 id("com.android.library")
22 id("kotlin-android")
23}
24
25dependencies {
Julia McClellanba7b6b92024-12-06 13:47:16 -050026 api(libs.jspecify)
Xi Zhang79e7fa12024-04-29 09:41:52 -070027 api(libs.androidx.annotation)
28 implementation(project(":camera:camera-feature-combination-query"))
29
30 testImplementation(libs.testRunner)
31 testImplementation(libs.robolectric)
32 testImplementation(libs.kotlinStdlib)
33 testImplementation(libs.truth)
34 testImplementation(libs.testRules)
35 testImplementation(libs.testCore)
Xi Zhangc57edc52024-05-15 16:17:50 -070036
Xi Zhangc57edc52024-05-15 16:17:50 -070037 androidTestImplementation(libs.testExtJunit)
38 androidTestImplementation(libs.testCore)
39 androidTestImplementation(libs.testRunner)
40 androidTestImplementation(libs.testRules)
41 androidTestImplementation(libs.truth)
Xi Zhang79e7fa12024-04-29 09:41:52 -070042}
43
44android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080045 compileSdk = 35
Xi Zhang79e7fa12024-04-29 09:41:52 -070046 lintOptions {
47 enable 'CameraXQuirksClassDetector'
48 }
49
50 testOptions.unitTests.includeAndroidResources = true
51
Aurimas Liutikas77952822024-12-04 18:00:17 -080052 namespace = "androidx.camera.featurecombinationquery.playservices"
Xi Zhang79e7fa12024-04-29 09:41:52 -070053}
54
55androidx {
Xi Zhangc42b0532024-09-22 06:37:44 -070056 name = "Camera Feature Combination Query With Play Services"
57 type = LibraryType.PUBLISHED_LIBRARY
Xi Zhang79e7fa12024-04-29 09:41:52 -070058 inceptionYear = "2024"
Xi Zhangc42b0532024-09-22 06:37:44 -070059 description = "Camera feature combination components for the Camera Library, a " +
Xi Zhang79e7fa12024-04-29 09:41:52 -070060 "library providing camera feature combination with Google Play Services dependencies."
Andrea Falcone1e02caf2024-07-12 19:53:33 +000061}