blob: 88e91efd1a088fd1bfb68957d04b2ebed7ecc858 [file] [log] [blame]
Yasith Vidanaarachchi71ae5272023-05-01 15:49:55 -04001/*
2 * Copyright (C) 2023 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Yasith Vidanaarachchi71ae5272023-05-01 15:49:55 -040024import androidx.build.Publish
25
26plugins {
27 id("AndroidXPlugin")
28 id("AndroidXComposePlugin")
29 id("com.android.library")
30 id("org.jetbrains.kotlin.android")
31}
32
33dependencies {
34 api(libs.kotlinStdlib)
Yasith Vidanaarachchi6841e512023-12-14 20:28:41 -050035 implementation project(':compose:runtime:runtime')
36 implementation project(':compose:foundation:foundation-layout')
37 implementation project(':compose:foundation:foundation')
38 api project(':camera:camera-viewfinder-core')
39 implementation project(':core:core-ktx')
Yasith Vidanaarachchi71ae5272023-05-01 15:49:55 -040040 // Add dependencies here
41}
42
43android {
44 namespace "androidx.camera.viewfinder.compose"
45}
46
47androidx {
48 name = "androidx.camera:camera-viewfinder-compose"
Yasith Vidanaarachchi71ae5272023-05-01 15:49:55 -040049 publish = Publish.SNAPSHOT_AND_RELEASE
50 inceptionYear = "2023"
51 description = "Composable ViewFinder implementation for CameraX"
Jinseong Jeon999075e2023-08-22 00:40:11 -070052 metalavaK2UastEnabled = true
Yasith Vidanaarachchi71ae5272023-05-01 15:49:55 -040053}