Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 1 | /** |
| 2 | * This file was created using the `create_project.py` script located in the |
| 3 | * `<AndroidX root>/development/project-creator` directory. |
| 4 | * |
| 5 | * Please use that script when creating a new project, rather than copying an existing project and |
| 6 | * modifying its settings. |
| 7 | */ |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 8 | import androidx.build.LibraryType |
| 9 | |
| 10 | plugins { |
| 11 | id("AndroidXComposePlugin") |
| 12 | id("AndroidXPlugin") |
Aurimas Liutikas | 6a05875 | 2023-05-10 15:03:57 -0700 | [diff] [blame] | 13 | id("org.jetbrains.kotlin.android") |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 14 | id("com.android.library") |
| 15 | } |
| 16 | |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 17 | dependencies { |
| 18 | implementation(libs.kotlinStdlib) |
| 19 | api("androidx.annotation:annotation:1.4.0") |
| 20 | api("androidx.compose.runtime:runtime:1.1.1") |
| 21 | } |
| 22 | |
| 23 | android { |
| 24 | defaultConfig { |
| 25 | minSdkVersion 21 |
| 26 | } |
| 27 | namespace "androidx.glance.preview" |
| 28 | } |
| 29 | |
| 30 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 31 | name = "Glance Preview" |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 32 | type = LibraryType.PUBLISHED_LIBRARY |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 33 | inceptionYear = "2022" |
| 34 | description = "Glance preview library. This library provides the API required for marking the" + |
| 35 | "glance @Composable components that should have preview in the Android Studio." |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 36 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame^] | 37 | legacyDisableKotlinStrictApiMode = true |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 38 | } |