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) |
Aurimas Liutikas | 96f0b30 | 2024-07-25 15:49:23 -0700 | [diff] [blame] | 19 | api("androidx.annotation:annotation:1.8.1") |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 20 | api("androidx.compose.runtime:runtime:1.1.1") |
| 21 | } |
| 22 | |
| 23 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 24 | namespace = "androidx.glance.preview" |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 28 | name = "Glance Preview" |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 29 | type = LibraryType.PUBLISHED_LIBRARY |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 30 | inceptionYear = "2022" |
| 31 | description = "Glance preview library. This library provides the API required for marking the" + |
| 32 | "glance @Composable components that should have preview in the Android Studio." |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 33 | legacyDisableKotlinStrictApiMode = true |
Fedor Kudasov | f4b3b8e | 2022-07-25 10:34:35 +0100 | [diff] [blame] | 34 | } |