blob: 5a42db1c19928e5cd64729b33a98198afc82199c [file] [log] [blame]
/*
* 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"
minSdkVersion 21
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
}
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
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.0.0")
implementation("androidx.preference:preference:1.1.0")
implementation("androidx.exifinterface:exifinterface:1.0.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.2.0")
implementation(libs.constraintLayout)
implementation(libs.kotlinStdlib)
implementation(libs.kotlinCoroutinesAndroid)
// Testing framework
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)
}