blob: cedb467b2a5b6cac48f8be3b5704187a974d4a47 [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.Publish
import androidx.build.RunApiTasks
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"
publish = Publish.NONE
inceptionYear = "2022"
runApiTasks = new RunApiTasks.Yes()
description = "Camera effects components for the Jetpack Camera Library, a library providing " +
"camera post-processing features such as portrait mode that can be used with the " +
"CameraX library."
metalavaK2UastEnabled = true
}