| /* |
| * Copyright (C) 2019 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| * implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| import static androidx.build.dependencies.DependenciesKt.* |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.application") |
| } |
| |
| android { |
| defaultConfig { |
| applicationId "androidx.camera.integration.extensions" |
| minSdkVersion 21 |
| versionCode 1 |
| multiDexEnabled true |
| } |
| } |
| |
| dependencies { |
| // Internal library |
| implementation(project(":camera:camera-camera2")) |
| implementation(project(":camera:camera-extensions")) |
| implementation(project(":camera:camera-lifecycle")) |
| implementation(project(":camera:camera-view")) |
| implementation 'androidx.test.espresso:espresso-idling-resource:3.1.0' |
| implementation(GUAVA_LISTENABLE_FUTURE) |
| implementation("androidx.concurrent:concurrent-futures:1.0.0") |
| |
| // Android Support Library |
| api(CONSTRAINT_LAYOUT, { transitive = true }) |
| implementation("androidx.appcompat:appcompat:1.1.0") |
| |
| // Guava |
| implementation(GUAVA_ANDROID) |
| |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(ANDROIDX_TEST_UIAUTOMATOR) |
| androidTestImplementation(ESPRESSO_CORE) |
| androidTestImplementation(project(":camera:camera-testing")) |
| androidTestCompileOnly(project(":camera:camera-extensions-stub")) |
| } |
| |