blob: 944d85399803b4d541e2e20a1e291153adaacc65 [file] [log] [blame]
charcoalchen59ea07d2019-03-06 18:00:24 +08001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
Trevor McGuire80458192019-04-08 14:49:13 -070018import androidx.build.LibraryVersions
19import androidx.build.LibraryGroups
charcoalchen59ea07d2019-03-06 18:00:24 +080020
21plugins {
Wenhung Teng73b1dbd2019-04-08 09:11:18 -070022 id("AndroidXPlugin")
23 id("com.android.library")
charcoalchen59ea07d2019-03-06 18:00:24 +080024}
25
charcoalchen1f0c4ca2019-02-27 22:19:29 +080026dependencies {
27 api(project(":camera:camera-core"))
Alan Viverettec2ea01c2019-05-22 15:39:53 -040028
Franklin Wu30c76f62019-04-15 16:03:23 -070029 implementation(project(":camera:camera-camera2"))
charcoalchen1f0c4ca2019-02-27 22:19:29 +080030 implementation("androidx.core:core:1.0.0")
Alan Viverettec2ea01c2019-05-22 15:39:53 -040031 implementation(project(":concurrent-listenablefuture"))
Franklin Wu30c76f62019-04-15 16:03:23 -070032
Alan Viverettec2ea01c2019-05-22 15:39:53 -040033 compileOnly(project(":camera:camera-extensions-stub"))
charcoalchen1f0c4ca2019-02-27 22:19:29 +080034}
35
charcoalchen59ea07d2019-03-06 18:00:24 +080036android {
37 defaultConfig {
38 minSdkVersion 21
39 }
40}
41
David M. Chen389eda02019-04-01 16:32:06 -070042androidx {
charcoalchen59ea07d2019-03-06 18:00:24 +080043 name = "Jetpack Camera Library OEM Extensions"
44 publish = false
Trevor McGuire80458192019-04-08 14:49:13 -070045 mavenVersion = LibraryVersions.CAMERA
46 mavenGroup = LibraryGroups.CAMERA
charcoalchen59ea07d2019-03-06 18:00:24 +080047 inceptionYear = "2019"
48 description = "OEM Extensions for the Jetpack Camera Library, a library providing interfaces" +
49 " to integrate with OEM specific camera features."
50}