blob: bb95910bfda3eb41d3e6d118ca43b33e8a9b335c [file] [log] [blame]
/*
* Copyright 2022 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.diagnose"
minSdkVersion 21
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
}
}
testOptions.unitTests.includeAndroidResources = true
namespace "androidx.camera.integration.diagnose"
}
dependencies {
implementation("androidx.concurrent:concurrent-futures-ktx:1.1.0")
// Internal library
implementation(project(":camera:camera-core"))
implementation(project(":camera:camera-camera2"))
implementation(project(":camera:camera-view"))
implementation(project(":camera:camera-lifecycle"))
implementation(project(":camera:camera-mlkit-vision"))
// Android Support Library
implementation("androidx.appcompat:appcompat:1.3.0")
implementation("androidx.activity:activity-ktx:1.2.0")
implementation(libs.guavaAndroid)
implementation(libs.constraintLayout)
implementation(libs.mlkitBarcode)
implementation(libs.material)
testImplementation(libs.robolectric)
testImplementation(libs.truth)
testImplementation project(path: ':camera:camera-testing')
testImplementation("androidx.test:core:1.4.0")
testImplementation("junit:junit:4.12")
compileOnly(libs.kotlinCompiler)
// Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath.
androidTestImplementation("androidx.annotation:annotation-experimental:1.4.0")
// Testing framework
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testUiautomator)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.truth)
debugImplementation(libs.testCore)
}