blob: 86337aa6bab9a4b050a2608c4de238097980f6a5 [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.
*/
import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
}
dependencies {
api(project(":camera:camera-core"))
implementation(libs.autoValueAnnotations)
implementation("androidx.concurrent:concurrent-futures:1.0.0")
annotationProcessor(libs.autoValue)
testImplementation(libs.robolectric)
testImplementation(libs.testRunner)
testImplementation(libs.kotlinStdlib)
testImplementation(libs.truth)
testImplementation(libs.testRules)
testImplementation(libs.testCore)
androidTestImplementation(libs.multidex)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.truth)
androidTestImplementation(project(":camera:camera-testing")) {
// Ensure camera-testing does not pull in androidx.test dependencies
exclude(group:"androidx.test")
}
androidTestImplementation(libs.kotlinStdlib)
androidTestImplementation(libs.kotlinCoroutinesAndroid)
androidTestImplementation("androidx.concurrent:concurrent-futures-ktx:1.1.0")
}
android {
defaultConfig {
multiDexEnabled = true
}
testOptions.unitTests.includeAndroidResources = true
namespace "androidx.camera.effects"
}
androidx {
name = "Camera Effects"
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "Camera effects components for the Jetpack Camera Library, a library providing " +
"camera post-processing features such as drawing overlay with the CameraX library."
metalavaK2UastEnabled = true
}