blob: 939c4ddaafb1b1cf8acbf590343abb0c47d2dfce [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)
19 api("androidx.annotation:annotation:1.4.0")
20 api("androidx.compose.runtime:runtime:1.1.1")
21}
22
23android {
24 defaultConfig {
25 minSdkVersion 21
26 }
27 namespace "androidx.glance.preview"
28}
29
30androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040031 name = "Glance Preview"
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010032 type = LibraryType.PUBLISHED_LIBRARY
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010033 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 Jeon999075e2023-08-22 00:40:11 -070036 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070037 legacyDisableKotlinStrictApiMode = true
Fedor Kudasovf4b3b8e2022-07-25 10:34:35 +010038}