[go: nahoru, domu]

blob: 12d1d726929187addce02cb7ad3edf4e27f7de9a [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 */
16import androidx.build.Publish
17import androidx.build.RunApiTasks
18
19plugins {
20 id("AndroidXPlugin")
21 id("com.android.library")
22 id("kotlin-android")
23}
24
25dependencies {
26 api(libs.androidx.annotation)
27
28 testImplementation(libs.testRunner)
29 testImplementation(libs.robolectric)
30 testImplementation(libs.kotlinStdlib)
31 testImplementation(libs.truth)
32 testImplementation(libs.testRules)
33 testImplementation(libs.testCore)
34}
35
36android {
Xi Zhang79e7fa12024-04-29 09:41:52 -070037 lintOptions {
38 enable 'CameraXQuirksClassDetector'
39 }
40
41 testOptions.unitTests.includeAndroidResources = true
42 namespace "androidx.camera.featurecombinationquery"
43}
44
45androidx {
46 name = "Jetpack Camera Feature Combination Library"
47 publish = Publish.NONE
48 inceptionYear = "2024"
49 runApiTasks = new RunApiTasks.Yes()
50 description = "Camera feature combination components for the Jetpack Camera Library, a library " +
51 "providing a seamless experience for querying camera features across all of Android."
52 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070053 legacyDisableKotlinStrictApiMode = true
Xi Zhang79e7fa12024-04-29 09:41:52 -070054}