Yasith Vidanaarachchi | 71ae527 | 2023-05-01 15:49:55 -0400 | [diff] [blame] | 1 | /* |
| 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Vidanaarachchi | 71ae527 | 2023-05-01 15:49:55 -0400 | [diff] [blame] | 24 | import androidx.build.Publish |
| 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("AndroidXComposePlugin") |
| 29 | id("com.android.library") |
| 30 | id("org.jetbrains.kotlin.android") |
| 31 | } |
| 32 | |
| 33 | dependencies { |
| 34 | api(libs.kotlinStdlib) |
Yasith Vidanaarachchi | 6841e51 | 2023-12-14 20:28:41 -0500 | [diff] [blame] | 35 | 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 Vidanaarachchi | 71ae527 | 2023-05-01 15:49:55 -0400 | [diff] [blame] | 40 | // Add dependencies here |
| 41 | } |
| 42 | |
| 43 | android { |
| 44 | namespace "androidx.camera.viewfinder.compose" |
| 45 | } |
| 46 | |
| 47 | androidx { |
| 48 | name = "androidx.camera:camera-viewfinder-compose" |
Yasith Vidanaarachchi | 71ae527 | 2023-05-01 15:49:55 -0400 | [diff] [blame] | 49 | publish = Publish.SNAPSHOT_AND_RELEASE |
| 50 | inceptionYear = "2023" |
| 51 | description = "Composable ViewFinder implementation for CameraX" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 52 | metalavaK2UastEnabled = true |
Yasith Vidanaarachchi | 71ae527 | 2023-05-01 15:49:55 -0400 | [diff] [blame] | 53 | } |