| /* |
| * Copyright 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. |
| */ |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.application") |
| id("kotlin-android") |
| } |
| |
| android { |
| defaultConfig { |
| applicationId = "androidx.camera.integration.antelope" |
| versionCode 35 |
| versionName "1.35" |
| } |
| sourceSets { |
| main.manifest.srcFile "src/main/AndroidManifest.xml" |
| main.java.srcDirs = ["src/main/java"] |
| main.java.excludes = ["**/build/**"] |
| main.java.includes = ["**/*.java"] |
| main.res.srcDirs = ["src/main/res"] |
| } |
| buildTypes { |
| release { |
| minifyEnabled = false |
| } |
| } |
| testOptions { |
| animationsDisabled = true |
| } |
| buildFeatures { |
| viewBinding = true |
| } |
| namespace = "androidx.camera.integration.antelope" |
| } |
| |
| dependencies { |
| // Internal library |
| implementation(project(":camera:camera-camera2")) |
| implementation(project(":camera:camera-core")) |
| implementation(project(":camera:camera-lifecycle")) |
| |
| // Android support library |
| implementation(project(":concurrent:concurrent-futures-ktx")) |
| implementation("androidx.fragment:fragment-ktx:1.3.0") |
| implementation("androidx.appcompat:appcompat:1.1.0") |
| implementation("androidx.collection:collection:1.4.2") |
| implementation("androidx.preference:preference:1.2.1") |
| implementation("androidx.exifinterface:exifinterface:1.0.0") |
| implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4") |
| implementation(libs.constraintLayout) |
| implementation(libs.kotlinStdlib) |
| implementation(libs.kotlinCoroutinesAndroid) |
| |
| // Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath. |
| androidTestImplementation("androidx.annotation:annotation-experimental:1.4.1") |
| |
| // Testing framework |
| androidTestImplementation(project(":concurrent:concurrent-futures")) |
| androidTestImplementation(project(":concurrent:concurrent-futures-ktx")) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.espressoCore) |
| implementation(libs.espressoIdlingResource) |
| implementation(libs.truth) |
| |
| // Statistics library |
| implementation(libs.guavaAndroid) |
| } |