1/*
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 */
16
17import androidx.build.SoftwareType
18
19plugins {
20    id("AndroidXPlugin")
21    id("com.android.library")
22    id("org.jetbrains.kotlin.android")
23}
24
25dependencies {
26    api(libs.jspecify)
27    api(libs.androidx.annotation)
28    implementation(libs.autoValueAnnotations)
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)
36
37    annotationProcessor(libs.autoValue)
38}
39
40android {
41    lint {
42        enable.add("CameraXQuirksClassDetector")
43    }
44
45    compileSdk = 35
46    testOptions.unitTests.includeAndroidResources = true
47    namespace = "androidx.camera.featurecombinationquery"
48}
49
50androidx {
51    name = "Camera Feature Combination Query"
52    type = SoftwareType.PUBLISHED_LIBRARY
53    inceptionYear = "2024"
54    description = "Camera feature combination components for the Camera Library, a library " +
55            "providing a seamless experience for querying camera features across all of Android."
56}
57