blob: 0cbf6fd26e5740f1ea17145d8318f5cde53e6f26 [file] [log] [blame]
Tiem Songee0da742024-01-03 14:08:46 -08001/**
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 Kudasovf4b3b8e2022-07-25 10:34:35 +01008import androidx.build.LibraryType
9
10plugins {
11 id("AndroidXComposePlugin")
12 id("AndroidXPlugin")
Aurimas Liutikas6a058752023-05-10 15:03:57 -070013 id("org.jetbrains.kotlin.android")
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010014 id("com.android.library")
15}
16
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010017dependencies {
18 implementation(libs.kotlinStdlib)
Aurimas Liutikas96f0b302024-07-25 15:49:23 -070019 api("androidx.annotation:annotation:1.8.1")
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010020 api("androidx.compose.runtime:runtime:1.1.1")
21}
22
23android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080024 namespace = "androidx.glance.preview"
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010025}
26
27androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040028 name = "Glance Preview"
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010029 type = LibraryType.PUBLISHED_LIBRARY
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010030 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 Liutikas5c5419a2024-05-29 15:26:58 -070033 legacyDisableKotlinStrictApiMode = true
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010034}