blob: 8414fb43da1d25bf9b5e57a3f717c9a0a8b09c11 [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)
Xi Zhangc57edc52024-05-15 16:17:50 -070028 implementation(libs.autoValueAnnotations)
Xi Zhang79e7fa12024-04-29 09:41:52 -070029
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
37 annotationProcessor(libs.autoValue)
Xi Zhang79e7fa12024-04-29 09:41:52 -070038}
39
40android {
Xi Zhang79e7fa12024-04-29 09:41:52 -070041 lintOptions {
42 enable 'CameraXQuirksClassDetector'
43 }
44
Aurimas Liutikas77952822024-12-04 18:00:17 -080045 compileSdk = 35
Xi Zhang79e7fa12024-04-29 09:41:52 -070046 testOptions.unitTests.includeAndroidResources = true
Aurimas Liutikas77952822024-12-04 18:00:17 -080047 namespace = "androidx.camera.featurecombinationquery"
Xi Zhang79e7fa12024-04-29 09:41:52 -070048}
49
50androidx {
Xi Zhangc42b0532024-09-22 06:37:44 -070051 name = "Camera Feature Combination Query"
52 type = LibraryType.PUBLISHED_LIBRARY
Xi Zhang79e7fa12024-04-29 09:41:52 -070053 inceptionYear = "2024"
Xi Zhangc42b0532024-09-22 06:37:44 -070054 description = "Camera feature combination components for the Camera Library, a library " +
Xi Zhang79e7fa12024-04-29 09:41:52 -070055 "providing a seamless experience for querying camera features across all of Android."
Julia McClellan81a46bc2024-12-03 14:42:36 -050056}