blob: 04ca4c25f76ea88a68c14c2613bc613c49041ef9 [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 {
20id("AndroidXPlugin")
21id("com.android.library")
22id("kotlin-android")
23}
24
25dependencies {
26api(libs.androidx.annotation)
27implementation(project(":camera:camera-feature-combination-query"))
28
29testImplementation(libs.testRunner)
30testImplementation(libs.robolectric)
31testImplementation(libs.kotlinStdlib)
32testImplementation(libs.truth)
33testImplementation(libs.testRules)
34testImplementation(libs.testCore)
35}
36
37android {
38defaultConfig {
39multiDexEnabled = true
40}
41
42lintOptions {
43enable 'CameraXQuirksClassDetector'
44}
45
46testOptions.unitTests.includeAndroidResources = true
47
48namespace "androidx.camera.featurecombinationquery.playservices"
49}
50
51androidx {
52name = "Jetpack Camera Feature Combination Play Services Library"
53publish = Publish.NONE
54inceptionYear = "2024"
55runApiTasks = new RunApiTasks.Yes()
56description = "Camera feature combination components for the Jetpack Camera Library, a " +
57"library providing camera feature combination with Google Play Services dependencies."
58metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070059legacyDisableKotlinStrictApiMode = true
Xi Zhang79e7fa12024-04-29 09:41:52 -070060}