blob: 70df34a6da4c8a4b3057878b4c837dec87e874af [file] [log] [blame]
/*
* Copyright (C) 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.
*/
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.SoftwareType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("org.jetbrains.kotlin.android")
}
dependencies {
api(libs.jspecify)
api("androidx.annotation:annotation:1.8.1")
api(project(":camera:viewfinder:viewfinder-core"))
implementation(libs.guavaListenableFuture)
implementation("androidx.core:core:1.7.0")
implementation("androidx.concurrent:concurrent-futures:1.1.0")
implementation("androidx.concurrent:concurrent-futures-ktx:1.1.0")
implementation(libs.autoValueAnnotations)
implementation("androidx.test.espresso:espresso-idling-resource:3.1.0")
implementation(libs.kotlinCoroutinesCore)
implementation(libs.kotlinCoroutinesAndroid)
androidTestImplementation(libs.mockitoCore)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.kotlinStdlib)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.mockitoCore)
androidTestImplementation(libs.dexmakerMockito)
androidTestImplementation(project(":internal-testutils-truth"))
androidTestImplementation(project(":test:screenshot:screenshot"))
androidTestImplementation("androidx.core:core-ktx:1.15.0")
androidTestImplementation(libs.guavaAndroid)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.testMonitor)
}
android {
compileSdk = 35
namespace = "androidx.camera.viewfinder.view"
lint {
enable.add("CameraXQuirksClassDetector")
}
}
androidx {
name = "Camera Viewfinder View"
type = SoftwareType.PUBLISHED_LIBRARY
inceptionYear = "2022"
description = "Standalone View-based Viewfinder for Camera"
legacyDisableKotlinStrictApiMode = true
addGoldenImageAssets()
}