charcoalchen | 59ea07d | 2019-03-06 18:00:24 +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 | |
| 17 | import static androidx.build.dependencies.DependenciesKt.* |
Trevor McGuire | 8045819 | 2019-04-08 14:49:13 -0700 | [diff] [blame] | 18 | import androidx.build.LibraryVersions |
| 19 | import androidx.build.LibraryGroups |
charcoalchen | 59ea07d | 2019-03-06 18:00:24 +0800 | [diff] [blame] | 20 | |
| 21 | plugins { |
Wenhung Teng | 73b1dbd | 2019-04-08 09:11:18 -0700 | [diff] [blame] | 22 | id("AndroidXPlugin") |
| 23 | id("com.android.library") |
charcoalchen | 59ea07d | 2019-03-06 18:00:24 +0800 | [diff] [blame] | 24 | } |
| 25 | |
charcoalchen | 1f0c4ca | 2019-02-27 22:19:29 +0800 | [diff] [blame] | 26 | dependencies { |
| 27 | api(project(":camera:camera-core")) |
Alan Viverette | c2ea01c | 2019-05-22 15:39:53 -0400 | [diff] [blame^] | 28 | |
Franklin Wu | 30c76f6 | 2019-04-15 16:03:23 -0700 | [diff] [blame] | 29 | implementation(project(":camera:camera-camera2")) |
charcoalchen | 1f0c4ca | 2019-02-27 22:19:29 +0800 | [diff] [blame] | 30 | implementation("androidx.core:core:1.0.0") |
Alan Viverette | c2ea01c | 2019-05-22 15:39:53 -0400 | [diff] [blame^] | 31 | implementation(project(":concurrent-listenablefuture")) |
Franklin Wu | 30c76f6 | 2019-04-15 16:03:23 -0700 | [diff] [blame] | 32 | |
Alan Viverette | c2ea01c | 2019-05-22 15:39:53 -0400 | [diff] [blame^] | 33 | compileOnly(project(":camera:camera-extensions-stub")) |
charcoalchen | 1f0c4ca | 2019-02-27 22:19:29 +0800 | [diff] [blame] | 34 | } |
| 35 | |
charcoalchen | 59ea07d | 2019-03-06 18:00:24 +0800 | [diff] [blame] | 36 | android { |
| 37 | defaultConfig { |
| 38 | minSdkVersion 21 |
| 39 | } |
| 40 | } |
| 41 | |
David M. Chen | 389eda0 | 2019-04-01 16:32:06 -0700 | [diff] [blame] | 42 | androidx { |
charcoalchen | 59ea07d | 2019-03-06 18:00:24 +0800 | [diff] [blame] | 43 | name = "Jetpack Camera Library OEM Extensions" |
| 44 | publish = false |
Trevor McGuire | 8045819 | 2019-04-08 14:49:13 -0700 | [diff] [blame] | 45 | mavenVersion = LibraryVersions.CAMERA |
| 46 | mavenGroup = LibraryGroups.CAMERA |
charcoalchen | 59ea07d | 2019-03-06 18:00:24 +0800 | [diff] [blame] | 47 | inceptionYear = "2019" |
| 48 | description = "OEM Extensions for the Jetpack Camera Library, a library providing interfaces" + |
| 49 | " to integrate with OEM specific camera features." |
| 50 | } |