[go: nahoru, domu]

blob: 3bd216a4b4240154bac0041968ecfb37fbc08804 [file] [log] [blame]
/*
* Copyright (C) 2020 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.camera2.pipe"
versionCode 1
multiDexEnabled true
}
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 true
shrinkResources true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro")
}
}
namespace "androidx.camera.integration.camera2.pipe"
}
dependencies {
// Internal library
implementation(libs.kotlinStdlib)
// Android Support Library
implementation("androidx.appcompat:appcompat:1.1.0")
implementation(libs.constraintLayout)
// Camera Pipe
implementation(project(":camera:camera-camera2-pipe"))
// Testing framework
testImplementation(libs.truth)
testImplementation(libs.junit)
testImplementation(libs.truth)
debugImplementation(libs.testCore)
}