charcoalchen | a8cf1c6 | 2019-03-15 16:41:07 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 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 | |
Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 18 | * This file was created using the `create_project.py` script located in the |
| 19 | * `<AndroidX root>/development/project-creator` directory. |
| 20 | * |
| 21 | * Please use that script when creating a new project, rather than copying an existing project and |
| 22 | * modifying its settings. |
| 23 | */ |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 24 | import androidx.build.Publish |
charcoalchen | a8cf1c6 | 2019-03-15 16:41:07 +0800 | [diff] [blame] | 25 | |
| 26 | plugins { |
Wenhung Teng | 73b1dbd | 2019-04-08 09:11:18 -0700 | [diff] [blame] | 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
charcoalchen | a8cf1c6 | 2019-03-15 16:41:07 +0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | dependencies { |
Nick Anthony | ac4cf06 | 2019-06-04 10:59:29 -0400 | [diff] [blame] | 32 | api("androidx.annotation:annotation:1.1.0") |
Scott Nien | 1b14822 | 2023-08-31 17:31:40 +0800 | [diff] [blame] | 33 | implementation(project(":camera:camera-core")) |
charcoalchen | a8cf1c6 | 2019-03-15 16:41:07 +0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | android { |
| 37 | defaultConfig { |
Franklin Wu | 30c76f6 | 2019-04-15 16:03:23 -0700 | [diff] [blame] | 38 | multiDexEnabled true |
charcoalchen | a8cf1c6 | 2019-03-15 16:41:07 +0800 | [diff] [blame] | 39 | } |
System Administrator | c4ab0a1 | 2022-04-13 12:05:20 -0700 | [diff] [blame] | 40 | |
| 41 | lintOptions { |
| 42 | enable 'CameraXQuirksClassDetector' |
| 43 | } |
| 44 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 45 | namespace "androidx.camera.extensions.impl" |
Franklin Wu | 30c76f6 | 2019-04-15 16:03:23 -0700 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 49 | name = "Camera Extensions Example" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 50 | publish = Publish.NONE |
Franklin Wu | 30c76f6 | 2019-04-15 16:03:23 -0700 | [diff] [blame] | 51 | inceptionYear = "2019" |
| 52 | description = "Example extension implementation for the Jetpack Camera Library, a library providing a " + |
| 53 | "consistent and reliable camera foundation that enables great camera driven " + |
| 54 | "experiences across all of Android." |
| 55 | } |